Re:Re: Moving from PHP to Go and Back Again
by noncoml on Tuesday December 12, 2017 @05:00AM
(#15904280)
Aren’t JVM language equally simple? Just a fat JAR.
[ Parent
| on HN ]
Re:Re: Moving from PHP to Go and Back Again
by mjevans on Tuesday December 12, 2017 @05:06AM
(#15904313)
You're forgetting Java.
Re:Re: Moving from PHP to Go and Back Again
by Erlich_Bachman on Tuesday December 12, 2017 @06:41AM
(#15904807)
But nowadays it's pretty much installed everywhere? If not installed yet - it's a really easy and quite unobtrusive to install, one-liners in many OSes.
So in the strict practical sense, is that such a big difference? What, extra 300MB for storing JVM? Who cares with 2TB commodity harddrives? (unless you're embedded, but then you wouldn't use Java or Go usually).
Re:Re: Moving from PHP to Go and Back Again
by kuschku on Tuesday December 12, 2017 @08:19AM
(#15905360)
The JVM adds 64 MiB if compressed, for comparison, node.JS with CEF adds 280 MiB
Re:Re: Moving from PHP to Go and Back Again
by pjmlp on Tuesday December 12, 2017 @09:24AM
(#15905718)
Only if we are speaking about versions older than Java 9.
Java 9 added linking support for custom runtimes.
Re:Re: Moving from PHP to Go and Back Again
by lwansbrough on Tuesday December 12, 2017 @06:04AM
(#15904614)
Java isn’t required for the JVM of course. Scala is pretty great. I’ll throw my hat in the ring for C# on .NET Core. Just need the dotnet binary to init, build, install, restore, run. It’s like if node included npm in the same binary.