118 points · by kimi · 8y ago · 64 comments
Except that the toy program is 25MB and takes multiple minutes to compile...
It's not viable for built-in Linux tools, etc. But for a custom tool where performance matters, it's a great solution.
But I wanted to be fair with the article.
Well, to be fair with Go, I should say 2MB for an hello world app like the one they have.
Oracle's JDK is based on Open JDK.
Open JDK is licensed under GPL + the classpath exception. (eg, the Open JDK is under GPL, but when used as a runtime for other software, then that other software does not come under the scope of the GPL.)
There are multiple other sources to get pre-build binaries for the Open JDK without going to Oracle.
Azul Zule built for multiple platforms including Linux, Mac OS, Windows.
https://www.azul.com/downloads/zulu/
And Zulu for Raspberry PI:
https://www.azul.com/downloads/zulu-embedded/
Open JDK Build:
https://github.com/ojdkbuild/ojdkbuild
(click the 'releases' link)
Adopt Open JDK:
https://adoptopenjdk.net/index.html
(offers choice of HotSpot or IBM's Open J9 technology)
There's also Red Hat, for free, but you must create an account.
And IBM makes their own builds, but they are typically bundled with some other product such as Eclipse, so a bigger download.
I'm not.
I made a very small contribution (removing 4 incorrect quote characters from some sample JSON code)
Sure. That doesn't change my statement though.
In other words, thank you for the content, but this could really use some proofreading.
My Elixir test suites fire up instantly and finish in seconds (if that) and this fast-as-possible feedback loop is extremely important to stay productive, IMHO.
The stacktraces are still often terrible though =/
My work proxy is making it a pain to find the presentation, I'll try again at home.
[1] - https://www.meetup.com/Londonjavacommunity/events/252118399/
[2] - https://docs.oracle.com/javase/8/docs/technotes/guides/vm/cl...
Preliminary tinkering by Spring folks shows Graal having a substantial impact there too.
Google even had to invent a zygote process in Android to make apps start faster.
It can. That’s what this article is about.