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 [email protected] https://mail.mozilla.org/listinfo/es-discuss

