Compiled JS

Michał Wadas michalwadas at gmail.com
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 wirfs-brock.com> 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.

Allen

.


_______________________________________________
es-discuss mailing list
es-discuss at mozilla.org
https://mail.mozilla.org/listinfo/es-discuss
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20171025/a85c8a21/attachment.html>


More information about the es-discuss mailing list