3 ms·
Just write an interpreter. Any compiler worth its salt will translate that interpreter into a JIT. ;)
by amelius 8y ago
Just write an interpreter. Any compiler worth its salt will translate that interpreter into a JIT. ;)
- stochastic_monk 8y agoAre you advocating writing an unoptimized interpreter and simply sending its IR to some optimizing backend?
- TomMarius 8y agoCan you give us some examples of such compilers that are worth their salt?
- sanxiyn 8y agoBoth PyPy and Truffle work this way.