The first alpha release of dramatis hit the streets today.
dramatis is a library available in Ruby and Python used to write concurrent programs based on the actor model of concurrency.
The release, labeled 0.1.1 (0.1 for first alpha, patch level 1 since the first release artifacts were a bit bollixed up), is available on rubyforge and pypi, as well as the git repository.
This release supports both Ruby and Python and comes with documentation, including API docs, several examples, and a tutorial.
The Python docs are, admittedly, a bit squirrely. The code has docstrings in it but the docstrings have not been pulled out into HTML. After looking at pydoc, epydoc, happydoc, and doxygen, it’s still not clear to me the best approach to Python API docs. I’d appreciate suggestions and recommendations.
It’s still early in dramatis’ life. It’s useful in its current state for writing data-driven/data-flow kinds of code and for concurrent I/O. It should be truly concurrent in JRuby but the last JRuby snapshot I tested (which was a while ago) had some weird dynamics when threads were involved. Need to test that again.
The two things I’d like to expand first are:
- Added actor-to-thread-pool binding so non-thread-safe code like GUI toolkits can be integrated
- Interprocess communication via XMPP
but the list of things that would be fun (and useful) to implement is long …
Comments are welcome here or on the the google group.
It’s an interesting time for actor concurrency. I try to follow the related discussions on the Erlang and Scala mailing lists and the rubinius IRC channel. Not to mention the stuff that happens at large, things like Ezra’s talk about Vertebra. (Hmmm … other people have talked about actors; Ezra seems to use agent; I thought I saw him write actors, but I don’t see it now).
Wonder if it’s time to have a place for language/library-agnostic actor discussions?

