Swarm with Remote Actors

7 views
Skip to first unread message

Rick R

unread,
Oct 24, 2009, 2:17:25 PM10/24/09
to swarm-...@googlegroups.com
I was able to get the (evident) bugs worked out of my Remote Actors implementation of Swarm. Remote actors simply encapsulate the threading, serialization, discovery and messaging that was present in Ian's implementation.  As such, it is a simplification of Ian's implementation, the design and structure is the same, as is the interface. It has a side effect of being more efficient since it isn't creating a new socket for every request.

With regards to the sample pure functional application. I got halfway through it before needing to incorporate monads to handle some failure cases. It was at that point that I decided that it was far too complicated to require that of the average (non-haskell) programmer. Though if an expert coder wishes to optimize his system, it is still an option.


"The greatest obstacle to discovering the shape of the earth, the continents, and the oceans was not ignorance but the illusion of knowledge."
- Daniel J. Boorstin

swarm_ractors.tar.gz

Patrick Wright

unread,
Oct 24, 2009, 2:30:07 PM10/24/09
to swarm-...@googlegroups.com
Hi Rick

Thanks for sharing this!

I think it would be good if you would open up a fork in GitHub based
on Ian's code, and post there; that way we can each synchronize with
your work, and you can sync with the main Swarm repo, at will.


Cheers
Patrick

Rick R

unread,
Oct 26, 2009, 6:43:24 PM10/26/09
to swarm-...@googlegroups.com
okay, there is a fork of Swarm at rrichardson/Swarm

I will be adding some complex tests hopefully tonight so that we can begin testing our data clustering.

Patrick Wright

unread,
Oct 27, 2009, 3:30:27 AM10/27/09
to swarm-...@googlegroups.com
Cool!
Reply all
Reply to author
Forward
0 new messages