News for hackers. Stuff that matters.
Re:Why the New V8 Is So Damn Fast by adrianN on Tuesday July 31, 2018 @02:04AM (#17650890)
The compiler can also perform optimizations that are impossible for a JIT because they're too expensive. JITs have to balance execution speed with compilation time. It's not so clear cut which approach in theoretically superior. I also don't know any languages where a JIT and an AOT compiler have gotten equivalent amounts of engineering hours so that we could have a fair comparison.
Re:Why the New V8 Is So Damn Fast by grashalm01 on Tuesday July 31, 2018 @04:54AM (#17651592)
Graal can run in dynamic and aot compilation mode. If you feed profiles into aot from a test run you can get pretty close to dynamic compilation peak performance.
Re:Why the New V8 Is So Damn Fast by repolfx on Tuesday July 31, 2018 @07:00AM (#17652114)
And if you don't the gap is about 20% iirc.