4 ms·
Not that I prefer Java where performance is important, but profile based optimization combined with optimizing across translation units is non-trivial. C/C++ c
by uxcn 11y ago
Not that I prefer Java where performance is important, but profile based optimization combined with optimizing across translation units is non-trivial. C/C++ compilers have been increasing support for these more recently. Jan Hubicka's blog has a good example [1].
I have to wonder if they plan to keep the codebase portable though. One of the major benefits of Java was that nearly everything has a JVM.
[1] http://hubicka.blogspot.com/2014/04/linktime-optimization-in-gcc-2-firefox.html http://hubicka.blogspot.com/2014/04/linktime-optimization-in...
- pjmlp 11y ago> One of the major benefits of Java was that nearly everything has a JVM. This was a big deal in the late 90's as C compilers were still catching up with ANSI C and ANSI C++ wasn't done, with each compiler supporting a different flavour of the ongoing work.
- uxcn 11y agoI would guess a lot of stuff wasn't completely POSIX either (still kinda true). It's really only recently C++ added a standard memory model, portable threading, etc... POSIX is even kind of falling behind for this stuff IMHO.
- pjmlp 11y agoPOSIX is basically what should have been the official C runtime, but they didn't want to make it a richer runtime. At least as I see it.