4 ms·I’ve compiled projects with javac, scalac, g++, gcc, and dmd. Javac is faster than all of them.by vips7L 5y agoI’ve compiled projects with javac, scalac, g++, gcc, and dmd. Javac is faster than all of them.pkolaczk 5y agojavac doesn't have to generate optimized machine code, which saves it a lot of time. But you pay the price incrementally in all those slow startups of java apps.pjmlp 5y agoOnly if stuck in Java 8, those of us in modern Java use JIT caches with PGO feedback.