News for hackers. Stuff that matters.
Re:Scala Native v0.1 by lmm on Thursday March 16, 2017 @11:01AM (#13885533)
But what's the advantage of a binary over a (shaded) jar? "java -jar myapp.jar" is a little more typing than "myapp", but only a little (and you can avoid that by prepending a launch script if you want); having the JVM installed on all your servers is a one-time cost.
Re:Scala Native v0.1 by bluejekyll on Thursday March 16, 2017 @11:30AM (#13885810)
See my above comment about GC and other runtime options. I always need a script to specify all the options to the JVM. It is never just as easy as a single jar with no options. That makes it better, no doubt, but it still sucks.
Re:Scala Native v0.1 by lmm on Thursday March 16, 2017 @11:41AM (#13885930)
I don't understand how you need those other options in Java and avoid needing them with a binary? What's the difference that means you can get by with not passing any options in go or what have you?

(I've used "java -jar myapp.jar" in production and it's been fine; the Java mainstream may favour using lots of -Dblah but it's entirely possible to replace that with code)