3 ms·
Seeing that PostgreSQL has pluggable JIT backends, maybe using MIR would be a faster and more lightweight alternative to LLVM. https://github.com/vnmakarov/mir
by megous 6y ago
Seeing that PostgreSQL has pluggable JIT backends, maybe using MIR would be a faster and more lightweight alternative to LLVM.
https://github.com/vnmakarov/mir https://github.com/vnmakarov/mir
- MaxBarraclough 6y agoFor good measure here are two other JIT backend libraries: * libFirm, https://pp.ipd.kit.edu/firm/ https://pp.ipd.kit.edu/firm/ * GNU lightning, https://www.gnu.org/software/lightning/ https://www.gnu.org/software/lightning/
- 1337_d00dZ 6y agoAlthough GNU lighting is a JIT, it is probably not well-suited for this application (it has limited virtual registers, no register allocator, no optimizer). Instead, gccjit would be a better option: https://gcc.gnu.org/onlinedocs/jit/ https://gcc.gnu.org/onlinedocs/jit/