An Introduction to JS-Ctypes

Brendan Eich brendan at mozilla.com
Sat Sep 17 12:08:30 PDT 2011


On Sep 17, 2011, at 3:02 PM, Brendan Eich wrote:

> An exception, or special case if you will: using Function or eval up front, hoisted and common'ed out of loops, and (this is crucial

"for eval", I meant to write here.


> ) not called from a function that you want optimized, in order to generate optimized JS. This kind of "query optimization" or JS-in-JS specialization is done, e.g. by ExtJS and other Ajax libraries. Also by a simple assembly-to-JS trace compiled emulator that Robert O'Callahan blogged about here:
> 
> http://robert.ocallahan.org/2010/11/implementing-high-performance-emulator_01.html

/be


More information about the es-discuss mailing list