3 ms·
The hypothesis that JIT can be faster than C/C++ because it can adapt code during runtime is mostly nullified by PGO. Yes, you could argue that in some programs
by redox99 4y ago
The hypothesis that JIT can be faster than C/C++ because it can adapt code during runtime is mostly nullified by PGO. Yes, you could argue that in some programs the execution path might drastically vary and the profile obtained during compilation is not representative to the actual run. But that's probably very unlikely.
And whatever gains you get from that have to offset the fact that these languages incite patterns that are generally awful for cache coherency, and generate a lot of garbage.
Some C# microbenchmarks MAYBE could become faster than C++ in the future, but actual programs I think is extremely unlikely.
- SemanticStrengh 4y ago> But that's probably very unlikely. Wtf why?? Have you even the slightest idea if the breadth and the depth of a program's possible execution paths? It's a combinatorial explosion as show the difficulty and time of partial fuzzing.