Hacker News new | past | comments | ask | show | jobs | submit login

Completely agree.

What saddens me is that only Erlang/Elixir get the “it’s slow” argument although they are in the same class as python and ruby.




I know what you mean. I don't know how often I've read "I prefer python/ruby/etc. because its not as bloated and slow as Java"...sigh


The only thing slow about java is the time to start the jvm.

For everything else to be faster you need asm, c, c++, fortran, or rust.

Loading an applet over a modem in 1998 doesn't count...


Starting the JVM is <0.5 seconds. On my box it's ~0.1 sec.


I have programs doing nontrivial things that run in 5 ms, from execve() to exit(). That's milliseconds, not seconds.


Exactly, even fairly complex script languages manages to boot, execute and exit in just a few milliseconds.

Maybe jigsaw is one piece in the puzzle to reduce the time it takes to start.

I doubt it's so bloody complicated, except AOT compilation of all system jars, I suspect it's mainly a matter of getting the time and resources to look at what happens when hello.world is executed.nu

That and relabling executable jars to jxe and the desktop is Java's to grab (that last part was a joke)


Exactly what I was going for.




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

Search: