Command-line apps with Clojure and GraalVM: 300x better startup times
astrecipes.net
astrecipes.net
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.
I made a very small contribution (removing 4 incorrect quote characters from some sample JSON code)
Sure. That doesn't change my statement though.
> While most proprietary software is distributed without the source code, some vendors distribute the source code
Source code available, or even under an open source license, does not change whether it is proprietary.
Not sure this is the best place to discuss the nuances of these terms. Essentially, they retain the IP, have shown a willingness to go after those doing things like re-implementing it, and in general should give people pause about using tech owned by them.
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.
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.
In other words, thank you for the content, but this could really use some proofreading.
Preliminary tinkering by Spring folks shows Graal having a substantial impact there too.
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 =/
There are also tools like lein-test-refresh https://github.com/jakemcc/lein-test-refresh that figure out what needs to be reloaded automatically. You start it up, it watches your namespaces for changes, and reruns tests as needed. As a bonus it can even hook into your OS notification system and let you know if any tests fail.
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...
Google even had to invent a zygote process in Android to make apps start faster.
It can. That’s what this article is about.