News for hackers. Stuff that matters.
Re:Apple's Module proposal to replace headers for C-based la... by masklinn on Tuesday November 27, 2012 @04:49AM (#4836422)
Also due to the java compiler doing very little work (it's a really dumb compiler)
Re:Apple's Module proposal to replace headers for C-based la... by pkolaczk on Tuesday November 27, 2012 @08:11AM (#4836954)
It does all the same work as a C++ compiler, except optimization phase. Yet any C++ compiler with optimization turned off is still order of magnitude slower. The key differences are:

- Java has a much simpler grammar to parse. - Everything is compiled at most once. - Encapsulation is stronger: private class members are not exposed in public class ABI and external code doesn't depend on them (this also extremely improves recompilation times - no need to compile half of the project because you changed a private method).