Re:What Challenges and Trade-Offs Do Optimising Compilers Face?
by ksk on Thursday June 22, 2017 @11:28AM
(#14612902)
Well, a JIT will add overhead that will defeat the purpose of using C in the first place.
[ Parent
| on HN ]
Re:What Challenges and Trade-Offs Do Optimising Compilers Face?
by DannyBee on Thursday June 22, 2017 @02:08PM
(#14614104)
If you start with optimized code from the AOT compiler, and do sampling based profiling every so often, the overhead is miniscule
The only time it would probably be a net lose is when you have a very large number of short lived executions.
Re:What Challenges and Trade-Offs Do Optimising Compilers Face?
by ksk on Thursday June 22, 2017 @06:23PM
(#14615767)
Okay, and if you manage to show that it's feasible in practice, I am sure people would adopt such an approach.