3 ms·
A Java application will invariably use more much memory than C implementation of almost any non-trivial application. You can inline code all you want, but it'l
by wvenable 17y ago
A Java application will invariably use more much memory than C implementation of almost any non-trivial application. You can inline code all you want, but it'll never change that. The JVM isn't magical -- it's not going to solve all your performance problems. When you're allocating a million tiny little objects with all the necessary accounting you can't optimize that away.
BTW, if it's so obvious why haven't you still provided at least one non-trivial concrete example of Java faster than C?