Why do all JITs need to run in <100ms?
If you run your trading app once a day, all day, and warm it up for an hour first, and want max speed, why do you care if it takes a few seconds to compile?
If you run your trading app once a day, all day, and warm it up for an hour first, and want max speed, why do you care if it takes a few seconds to compile?
Clang has instructions on how to do so here: https://clang.llvm.org/docs/UsersManual.html#profile-guided-...
Besides, people rally don't like that warming-up period. But it's not the current bottleneck.
Anyway, JIT has a great potential. Just not for desktop software, or network services, or your trading app. It can be great for scientific computing, for example. But that's potential; currently it's not any good on practice.
Also the large majority of modern Windows software is actually written in .NET, with small C++ pieces.