An Introduction to JS-Ctypes

Brendan Eich brendan at mozilla.com
Sun Sep 18 06:16:08 PDT 2011


On Sep 18, 2011, at 5:07 AM, Andrea Giammarchi wrote:

> On Sun, Sep 18, 2011 at 7:17 AM, Brendan Eich <brendan at mozilla.com> wrote:
> 
> The point is that you don't *have* to pass a fresh object literal to each constructor call.
> 
> /be
> 
> 
> I know Brendan, my point is that I can predict devs will do every time .... we'll see

Then they'll optimize. Developers know how to make code fast, just by A-B testing and folklore, if not by profiling.

The problem for JS is when performance is unpredictable, i.e., when optimization faults happen. This isn't analogous.

/be

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20110918/8c27eb43/attachment.html>


More information about the es-discuss mailing list