I was merely stating my opinions on what it could be used for if such things are guaranteed. D uses a keyword for compile time checking, which is available for pure functions by their nature of not having side effects outside of the this variable, arguments, and return value (all modifications of which would need to be clearly defined, we don't want shared state side effects).
On Thu, Sep 26, 2013 at 9:49 AM, David Bruant <[email protected]> wrote: > 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 >
_______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

