Just got the email version of Dr. Dobb's, and it's got an article on Fan. It's focus is kind of a brief overview of Fan, pointing particularly to the Actor model.
I've also been thinking about how cool it would be to build actors on top of web workers. Seems like the compiler would have to be clever enough to spit out separate js files for the top of each worker. I haven't dug enough to know if everything would be possible.
But if possible, it would be awesome.
JohnDGThu 13 Aug 2009
I think each actor would map to an individual web worker (at least that's the easiest way), and then web worker messaging passing would be used for typical message passing stuff. I don't think you could do a blocking receive, though.
yachris Thu 13 Aug 2009
Just got the email version of Dr. Dobb's, and it's got an article on Fan. It's focus is kind of a brief overview of Fan, pointing particularly to the Actor model.
JohnDG Thu 13 Aug 2009
It also gets some details wrong. But I do expect that for JavaScript, Fan's actors could be built on top http://www.whatwg.org/specs/web-workers/current-work/#tutorial[Web Workers].
tompalmer Thu 13 Aug 2009
I've also been thinking about how cool it would be to build actors on top of web workers. Seems like the compiler would have to be clever enough to spit out separate js files for the top of each worker. I haven't dug enough to know if everything would be possible.
But if possible, it would be awesome.
JohnDG Thu 13 Aug 2009
I think each actor would map to an individual web worker (at least that's the easiest way), and then web worker messaging passing would be used for typical message passing stuff. I don't think you could do a blocking receive, though.