4 ms·
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
by kpil 9y ago
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...
- sz4kerto 9y agoStarting the JVM is <0.5 seconds. On my box it's ~0.1 sec.
- majewsky 9y agoI have programs doing nontrivial things that run in 5 ms, from execve() to exit(). That's milliseconds, not seconds.
- kpil 9y agoExactly, 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)
- dahauns 9y agoExactly what I was going for.