3 ms·
Java compiles to its own bytecode ahead of time. The standard JVM also makes use of JIT to compile hot code paths to machine code. Python compiles to its own b
by jestar_jokin 11y ago
Java compiles to its own bytecode ahead of time. The standard JVM also makes use of JIT to compile hot code paths to machine code.
Python compiles to its own bytecode, but only when a script is first interpreted.
Haxe compiles to many different source code languages ahead of time, including C++, Python, Java, JavaScript, and C#. It also compiles to a custom "Neko VM" bytecode.
So, "compiling" isn't necessarily ahead of time, depending on what level of "compilation" you're talking about.
- marssaxman 11y agoIt's not necessarily done ahead of time, but if someone says they've written a "compiler", without qualification, I'm going to understand that as a program for taking source code as input and producing an executable as output, because that is the platonic form of a "compiler". Of course there are other sorts of programs which still qualify as a "compiler", but I'd generally expect that if someone is going to add qualifiers to "compiler", they would start with the qualifiers which distinguish their tool from the platonic compiler. In this case the authors have added a qualifier which is included in the platonic compiler form, without mentioning a significant way their project differs from the platonic compiler form, and that struck me as amusing.