Isiah Meadows (2014-11-03T18:50:35.000Z)
> From: Andreas Rossberg <rossberg at google.com>
> To: Katelyn Gadd <kg at luminance.org>
> Cc: es-discuss <es-discuss at mozilla.org>
> Date: Mon, 3 Nov 2014 08:54:16 +0100
> Subject: Re: typed array filling convenience AND performance
> On 31 October 2014 16:40, Katelyn Gadd <kg at luminance.org> wrote:
> > I'd also like to chime in since this is a real problem for
> > performance-sensitive JSIL code:
> > The idea that JS runtimes will just optimize all our
> > performance-sensitive loops is lovely. It also appears to be a
> > fantasy, because we've been writing those loops for years and
> > they're still slow. I did some extensive testing and experimentation
> > with spidermonkey a year or so back, examining how it optimized
> > various forms of a memcpy loop, and the results were pretty dire. V8
> > didn't seem to fare much better, though it is harder to tell because
> > they don't trivially expose generated native code for functions.
>
> Hm, just an aside, but I wonder what you mean by "trivially" here. It
> is only one flag away.

Try `node --allow-natives-syntax`, and take a look at the runtime-*.cc
files at https://github.com/v8/v8-git-mirror/tree/master/src/runtime (`grep
RUNTIME_FUNCTION`)

>
> /Andreas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20141103/eab1228a/attachment.html>
d at domenic.me (2014-11-18T23:20:19.397Z)
From: Andreas Rossberg <rossberg at google.com>

> Hm, just an aside, but I wonder what you mean by "trivially" here. It
> is only one flag away.

Try `node --allow-natives-syntax`, and take a look at the runtime-*.cc
files at https://github.com/v8/v8-git-mirror/tree/master/src/runtime (`grep
RUNTIME_FUNCTION`)