2 ms·
On a similar note, I have been watching this[0] project which provides an IR to target and optional optimizations. But I like the idea that the only difference
by kodablah 9y ago
On a similar note, I have been watching this[0] project which provides an IR to target and optional optimizations. But I like the idea that the only difference between a JIT and an AOT compiler is optimization choice (assuming we don't include tracing as part of the JIT features).
Also, this[1] blog series is a must-read for interested beginners.
0 - https://github.com/stoklund/cretonne/ https://github.com/stoklund/cretonne/
1 - https://eli.thegreenplace.net/2017/adventures-in-jit-compilation-part-1-an-interpreter/ https://eli.thegreenplace.net/2017/adventures-in-jit-compila...
- nbpname 9y agoIt sounds more than likely that HolyJit will use Cretonne as a backend. For the moment it uses dynasm, just to get the prototype working, but I expect to change that in the upcoming months. (I am the author of HolyJit)