Compiled JS

Michał Wadas michalwadas at
Wed Oct 25 20:56:36 UTC 2017

I don't think it's possible to write a compiler that can run eval/Function
without either JIT or interpretation.

On 25 Oct 2017 10:27 pm, "Allen Wirfs-Brock" <allen at> wrote:

Of course, it is possible to write a compiler for JavaScript.  It’s just a
programming language. But a traditional compiler that fully supports are
the dynamic characteristics of JS is probably not going to be competitive
with modern JITs.

However, a closed world whole-program optimizing compiler might be a
plausible approach for JS applications that meet those characteristics.
For example, some embedded applications.



es-discuss mailing list
es-discuss at
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the es-discuss mailing list