[ANN]: ova 0.9.6 - the bestest mutable array ever! (with lots of documentation)

198 views
Skip to first unread message

zcaudate

unread,
Sep 29, 2013, 8:33:27 PM9/29/13
to clo...@googlegroups.com

http://z.caudate.me/ova/

ova has been designed especially for dealing with shared mutable state in multi-threaded applications. Clojure uses refs and atoms off the shelf to resolve this issue but left out methods to deal with arrays of shared elements. ova has been specifically designed for the following use case:

  • Elements (usually clojure maps) can be added or removed from an array
  • Element data are accessible and mutated from several threads.
  • Array itself can also be mutated from several threads.

Github:

https://github.com/zcaudate/ova

Adam Clements

unread,
Oct 2, 2013, 8:00:42 PM10/2/13
to clo...@googlegroups.com
Perfect timing, I just sat down to solve this exact problem, sketched out a vague idea of what I wanted and then saw this which does everything I needed but better!

It's really handy for Component/Entity/System designs, as it essentially takes care of the whole entity part of the program and allows you to query for sets of entities affected by a given system really easily in a threadsafe way.

Thanks!

Adam

--
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clo...@googlegroups.com
Note that posts from new members are moderated - please be patient with your first post.
To unsubscribe from this group, send email to
clojure+u...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
---
You received this message because you are subscribed to the Google Groups "Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email to clojure+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Chris Zheng

unread,
Oct 3, 2013, 2:40:23 AM10/3/13
to clo...@googlegroups.com
Haha. Thanks mate!

I'm really happy that you have seen a use for it. Do let me know if you have any suggestions on how to improve it
You received this message because you are subscribed to a topic in the Google Groups "Clojure" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/clojure/D-Ph1NlKky4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to clojure+u...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages