Re:Ask HN: What is it about compiling that is so time-consum...
by layer8 on Monday January 30, 2023 @06:03PM
(#34587914)
Hotspot JIT compilers rely on that. They only compile and optimize code where significant CPU time is spent (hotspots). The majority of code usually remains unJITed.
[ Parent
| on HN ]
Re:Ask HN: What is it about compiling that is so time-consum...
by brundolf on Monday January 30, 2023 @06:12PM
(#34588023)
I guess the crux is that "important" is relative. JIT compilers (especially hot-spot optimizing ones) are most commonly used for high-level languages like JavaScript, which have a different definition of "important to performance" than eg. systems languages. The OP is talking about compilers that produce binaries, so I think the relevant definition of "important" is that of systems languages, not of the typical JITed language
Re:Ask HN: What is it about compiling that is so time-consum...
by layer8 on Monday January 30, 2023 @06:55PM
(#34588548)
I was thinking of Java and C#, which are widely deployed for desktop and backend applications, as well as on mobile (Android specifically), and which are quite competitive with C for application performance.