News for hackers. Stuff that matters.
Re:Do Not Taunt Happy Fun Branch Predictor by bob1029 on Wednesday January 25, 2023 @04:36PM (#34524517)
The state of modern compilers is pretty staggering to me. I've seen some code folding in RyuJIT that makes me feel inferior as a developer.

You've got a few compilers (Java, .NET, et. al.) which are capable of re-compiling hot path code during live execution and then seamlessly transitioning to those paths. This recompilation can be based upon the statistics of the live process, so it's almost like a sort of adaptive AI. Which paths are hot in production does not need to be known at compile time with these approaches.

There are no comments on this comment yet.