I'm not a Java guy, but I'm still wondering why nobody every wrote a JVM with near-zero startup time.

Well I am a Java guy and have two points to make.

First. What are you even talking about?

  Quiet:test user$ time java Test
  Test
  
  real	0m0.104s
  user	0m0.074s
  sys	0m0.028s
  Quiet:test user$
That's on a current MBP 13" top end.

And second: Who cares? What us "Java guys" do with Java, well, it doesn't matter in the slightest that it takes half a second to start. Because, we deploy to running processes. "We" power things like Hadoop clusters. The startup time is meaningless in "our realm" and frankly, I think if you're wondering about java for something like command line tools, it's just the wrong tool for the job for many reasons. And if you're looking at GUI apps, it's still better than Electron :P

So seriously, Hacker News, what is the obsession with this?

I'd imagine most people here are just web developers and haven't used anything beside nodejs in a professional environment, so their first reaction to java is "oh, I have to restart the server everytime I change a web page? that's a pain".

Not saying it can't be done with java. Even android studio has a hot class swapping feature (I know it isn't JVM but as a proof of concept this exists)

The JVM supports hot swapping. There's also DCEVM⁰, which supports more features than OpenJDK Hotspot.

⓪ - https://github.com/dcevm/dcevm