3 ms·
The one problem with LLVM is that it’s not very well suited to JIT compilers, a major component of which is its slowness.
by saagarjha 6y ago
The one problem with LLVM is that it’s not very well suited to JIT compilers, a major component of which is its slowness.
- monadic2 6y agoThat’s not really accurate. It has strict requirements about stack traversal required to appropriately trace memory roots. This is incidental to JIT vs AOT.
- deleted 6y ago[deleted]
- saagarjha 6y agoDid you reply to the wrong comment?
- dougqh2 6y agoFormer Azul employee here Absolutely correct that LLVM is a fair amount slower than C1 or C2. Azul augmented our JITs with a compilation recording & replay mechanism to combat the general start-up problems posed by JITs (including Falcon). For those who are curious, here's my presentation on the topic: https://2018.jpoint.ru/en/talks/63npsyjpokmukqsag80oia/ https://2018.jpoint.ru/en/talks/63npsyjpokmukqsag80oia/.