News for hackers. Stuff that matters.
Re:Native Clojure with GraalVM by zebraman on Tuesday September 18, 2018 @05:08AM (#18013656)
For command-line applications, it opens up an interesting space. There was a post on HN a while ago: https://www.astrecipes.net/blog/2018/07/20/cmd-line-apps-wit... though the system requirements for compilation are at the moment very onerous.
Re:Native Clojure with GraalVM by wink on Tuesday September 18, 2018 @05:12AM (#18013680)
Apparently I missed this one, thanks!

> So you have no excuses not to build your CLI tools in Clojure now.

Well I do disagree with this part, see other sibling comments (not by me). I'm not even sure GraalVM is really production-ready, notwithstanding the potential licensing and long-term issues.

I do agree it's at least worth trying.

Re:Native Clojure with GraalVM by zebraman on Tuesday September 18, 2018 @05:32AM (#18013765)
We are starting to do that, and for very simple operations, it works (like scripts for maintenance that we deploy remotely, and run as cron jobs). So far no big surprises, but we were very careful.

The big minefield is that you do not really know which libraries will go boom and where, as any place could make use of class loading.

Re:Native Clojure with GraalVM by repolfx on Tuesday September 18, 2018 @01:24PM (#18017247)
What licensing issues do you have in mind. Graal and SubstrateVM are all GPL-with-classpath-exception licensed, same as Java itself. It's an open source license.