Re: Parallel code execution in ClojureScript?

2013-05-10 Thread Ben Mabey
On 5/7/13 3:39 PM, Ghassan Ayesh wrote: Hi: In Javascript language, and while the language is inherently functional, Javascript's *implementation* until now, does not support parallel code execution against available CPU cores, unlike Erlang for example or Clojure on JVM, so I am thinking tha

Re: Parallel code execution in ClojureScript?

2013-05-08 Thread Paul deGrandis
David is right, it can be done with workers. I created a proof of concept in Shoreleave to do this dynamically. The dynamic workers implemented IFn and supported IWatchable via the HTML5 Messaging API. https://gist.github.com/ohpauleez/2914039 About a month or so ago, I started creating a new

Re: Parallel code execution in ClojureScript?

2013-05-07 Thread David Nolen
It can probably be done with HTML 5 Workers in browsers that support it, On Tuesday, May 7, 2013, Ghassan Ayesh wrote: > Hi: > > In Javascript language, and while the language is inherently functional, > Javascript's *implementation* until now, does not support parallel code > execution against a

Parallel code execution in ClojureScript?

2013-05-07 Thread Ghassan Ayesh
Hi: In Javascript language, and while the language is inherently functional, Javascript's *implementation* until now, does not support parallel code execution against available CPU cores, unlike Erlang for example or Clojure on JVM, so I am thinking that the actor pattern in Clojure when target