Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> It doesn't really matter if the Java would even run INSTANTLY... the JVM startup time just kills speed for small CLI invocations

luckily these problems actually do get addressed slowly via AoT/Graal and Substrate VM.

Here comparing a simple hello world program one is written in java and uses Substrate VM to create a binary and compare it with python:

$ time ./hello.py hello world!

real 0m0.041s user 0m0.017s sys 0m0.023s

$ time ./hello.main hello world!

real 0m0.019s user 0m0.008s sys 0m0.010s

of course the comparsion is unfair




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: