Re:Show HN: LuaJIT assembler/assembly language for direct by...
by bryanrasmussen on Saturday November 09, 2019 @04:11PM
(#21494378)
Normally JavaScript is a JIT compiled language because of the need to do stuff like hoisting etc.
[ Parent
| on HN ]
Re:Show HN: LuaJIT assembler/assembly language for direct by...
by Stratoscope on Saturday November 09, 2019 @05:50PM
(#21495040)
Just a nit on the JIT... JavaScript is almost always compiled, regardless of whether there is a JIT or not.
A typical JavaScript system first compiles the JS source code into bytecode. Then it starts executing (interpreting) the bytecode.
If there is a JIT, that is a second compiler. It monitors the execution of the bytecode to find hot spots where it compiles the bytecode into machine language.
Re:Show HN: LuaJIT assembler/assembly language for direct by...
by bryanrasmussen on Sunday November 10, 2019 @03:21AM
(#21497072)
yeah but I was just nitpicking on the "interpreted" statement above. What comes around goes around I guess.