Safe, Closure-free, Serializable functions

David Bruant bruant.d at gmail.com
Thu Sep 26 07:49:58 PDT 2013


Le 26/09/2013 15:36, Bradley Meck a écrit :
> The only really think of that would be of benefit is parallel execution.
MongoDB MapReduce exploits parallelism as much as one can ever hope and 
just a string generated from
     var f = '' + function(){...}
seems to work just fine.
(this actually wasn't true when SpiderMonkey was under the hood for 
technical reasons, but the design allowed parallelism and I think that 
now that they're using V8, they do exploit the parallelism)

This has already been happening in the real world for several years with 
the language as it is. What would be the benefit of changing the language?

David


More information about the es-discuss mailing list