Re:A Deep Introduction to JIT Compilers: JITs are not very J...
by saagarjha on Sunday July 05, 2020 @07:24PM
(#23743070)
The one problem with LLVM is that it’s not very well suited to JIT compilers, a major component of which is its slowness.
[ Parent
| on HN ]
Re:A Deep Introduction to JIT Compilers: JITs are not very J...
by dougqh2 on Monday July 06, 2020 @11:38AM
(#23749032)
Former 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/.
Re:A Deep Introduction to JIT Compilers: JITs are not very J...
by monadic2 on Sunday July 05, 2020 @11:17PM
(#23744360)
That’s not really accurate. It has strict requirements about stack traversal required to appropriately trace memory roots. This is incidental to JIT vs AOT.
Re:A Deep Introduction to JIT Compilers: JITs are not very J...
by saagarjha on Monday July 06, 2020 @02:16AM
(#23745188)
Did you reply to the wrong comment?
Re:A Deep Introduction to JIT Compilers: JITs are not very J...
by monadic2 on Tuesday July 07, 2020 @02:24AM
(#23756290)
Sorry, what did you read?
Re:A Deep Introduction to JIT Compilers: JITs are not very J...
by saagarjha on Tuesday July 07, 2020 @02:46AM
(#23756404)
This comment: https://news.ycombinator.com/item?id=23744360, where you're talking about JIT vs AOT in response to my LLVM one. I couldn't really understand how it followed.