3 ms·
@Walter: did you generate code form the AST or from bytecode? Seems like a lot of the solutions around now generate code from the bytecode, my understanding at
by le-mark 9y ago
@Walter: did you generate code form the AST or from bytecode? Seems like a lot of the solutions around now generate code from the bytecode, my understanding at least.
- WalterBright 9y agoFrom the AST. The trouble with a native compiler is dealing with dynamic class loading.
- le-mark 9y agoYeah, I'd leave that out if I were doing it :) otherwise you pretty much have to include an interpreter as well.
- WalterBright 9y agoIncluding the interpreter, and then the JIT, made a native compiler pointless. But that's all beside the point, which is people will often tell me what they want in a product, but don't actually want it.