Hacker News new | ask | show | jobs
by rifung 4017 days ago
Someone correct me if I'm wrong but I think not using the JVM makes deployments much simpler. At least that was one of the benefits a team at Amazon stated about switching to Go while I was there
1 comments

In practice, it doesn't make much difference.

You install the JVM once and rarely upgrade it.

You build and distribute your Java apps as fat jars (meaning, all dependencies bundled.)

But what happens when some of the apps require different versions of the JVM?
As long as you're using the latest version then this shouldn't be a problem as the JVM is backwards compatible.
Except on those fun occasions when it isn't really. :\
You know you can have multiple VMs installed, with different JAVA_HOMEs, right?

This is a solved problem.