Java is faster than C in its second run, prove me wrong
github.com
github.com
>0 stars
The premise of the JIT compiler and optimizations leading to faster execution seems plausible. It's not the first time I've heard it either. I just thought the above two things were humorous. ;)
https://benchmarksgame-team.pages.debian.net/benchmarksgame/...
...where it looks like GCC C++ beats GraalVM in all the tests.
https://benchmarksgame-team.pages.debian.net/benchmarksgame/...
3,000th run of Java HotSpot.
https://benchmarksgame-team.pages.debian.net/benchmarksgame/...
To add some detail: I think that 99% of algorithms are faster in Java in their second run than in any other Language due to the better JIT compiler and optimizations that are possible. I am talking about the GraalVM distribution of Java and its latest version, but we might as well use other distros.