News for hackers. Stuff that matters.
Re:A Deep Introduction to JIT Compilers: JITs are not very J... by jkubrynski on Sunday July 05, 2020 @07:18PM (#23743026)
There is also an interesting presentation about how Azul implemented their JIT called Falcon, that is fully based on LLVM. https://www.youtube.com/watch?v=Uqch1rjPls8 Generally LLVM is a nice idea that allows vendors to reuse major components.
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.
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.