4 ms·
> Practically every VM that tried to use LLVM as a JIT gave up as it was too slow. And it doesn't even seem to work effectively as a target for JIT. It can do
by chrisseaton 9y ago
> Practically every VM that tried to use LLVM as a JIT gave up as it was too slow.
And it doesn't even seem to work effectively as a target for JIT. It can do the machine code emitting part of a JIT well, but that wasn't really the problem and it doesn't seem to work well at the real problem of optimising code for a high-level language. You need to optimise yourself, by writing basically your own compiler pipeline, before emitting LLVM.
See for example the Rubinius implementation of Ruby.