JavaScript Compilers

My last blog got me thinking…I thought I had seen a JavaScript compiler available from Mozilla, and it turns out I was correct. Mozilla does have a JavaScript Compiler as part of the Rhino JavaScript interpreter. The Rhino compiler creates Java source files from JavaScript files, which then can be used by any Java program.

There are other JavaScript compilers as well. The NGS JavaScript Compiler actually compiles JavaScript down to a custom bytecode that is run by a virtual machine, similar to the Java virtual machine. Interesting concept, especially given its ability to communicate with C code. And even more interesting: the interpreter is partially written in JavaScript.

Understanding JavaScript Promises E-book Cover

Demystify JavaScript promises with the e-book that explains not just concepts, but also real-world uses of promises.

Download the Free E-book!

The community edition of Understanding JavaScript Promises is a free download that arrives in minutes.