Early error vs. error on first call to function vs. runtime error

Domenic Denicola domenic at domenicdenicola.com
Fri Sep 28 14:31:47 PDT 2012

On Sep 28, 2012, at 20:58, "Brendan Eich" <brendan at mozilla.org> wrote:

> John Lenz wrote:
>> The best thing I see for the future is if the Browser vendors didn't reparse JavaScript when loading from cache, this would help the best case scenarios, but doesn't help the worse case where it harder to find wins.
> Yes, why hasn't this happened? We had a Mozilla intern working on it, but I'm not sure where that went. It seems no major browser caches post-parsed tree serializations or other intermediate forms. Anyone know differently?
> /be

A pretty niche example, but: Windows 8 Store apps written in HTML5/JS are “bytecode cached” at package time, i.e. downloading an app from the store gives you bytecode instead of (or, in addition to?) pure JS.

Details at http://msdn.microsoft.com/en-us/library/windows/apps/hh849088.aspx

More information about the es-discuss mailing list