2011/1/6 Keean Schupke <keean@fry-it.com>:
> There is always Software Transactional Memory that provides a safe model for
> memory shared between threads.
> http://en.wikipedia.org/wiki/Software_transactional_memory
> This has been used very successfully in Haskell for overcoming threading /
> state issues. Combined with Haskells Channels (message queues) it provides
> for very elegant multi-threading.
Can you provide a link to the Haskell API which you think has been
working well for haskell. Or even better, considering that haskell is
a vastly different language from javascript, could you propose a
javascript API based on Software Transactional Memory.
/ Jonas