4 ms·
Would you count the size of the JVM when you do Hello World in Java?
by ng12 5y ago
Would you count the size of the JVM when you do Hello World in Java?
- Scarbutt 5y agoNo because they are not counting the size of the browser or nodejs
- deleted 5y ago[deleted]
- hombre_fatal 5y agoYou could, since it’s a runtime dep. But a better comparison would be to the client dev tool chains in other ecosystems, like Xcode (11GB), though still not very interesting. Turns out client dev is hard and it doesn’t make much sense hand wringing over dev tool size metrics. Better to look at how well they solve their problem space.
- valdiorn 5y agoyou could and it would still be much smaller.
- callmeal 5y agoJava HelloWorld runs in 1mb: 20:18:01 /tmp > echo 'public class HelloWorld {public static void main(String[] args) {System.out.println("Hello World!");}}' > HelloWorld.java 20:18:09 /tmp > javac HelloWorld.java 20:18:14 /tmp > java -Xmx1m HelloWorld Hello World!