News for hackers. Stuff that matters.
Re:State of Clojure 2020 by slifin on Friday February 21, 2020 @07:13AM (#22382543)
There is now an option to compile a binary, it uses GraalVM native-image technology

We're growing a scripting ecosystem in Clojure now thanks to this, it's still relatively new

As a newcomer, I've made several native binaries for different operation systems

Re:State of Clojure 2020 by armitron on Friday February 21, 2020 @07:21AM (#22382563)
GraalVM does not solve the reliance on the underlying host (JVM, Java) problem.
Re:State of Clojure 2020 by slifin on Friday February 21, 2020 @07:56AM (#22382727)
Well that depends what you define the host problem to be

End users can certainly run Clojure programs natively without having the JVM installed on their machine

Re:State of Clojure 2020 by vips7L on Friday February 21, 2020 @08:56AM (#22383075)
You can do that without Graal using jpackage. The only boon of Graal is native binaries and interop. But if you want to ship the JVM the user doesn't need it installed.
Re:State of Clojure 2020 by mark_l_watson on Friday February 21, 2020 @07:31PM (#22388467)
I wonder if native apps built with Graal or jpackage could be accepted at the Apple macOS and Windows app stores?
Re:State of Clojure 2020 by vips7L on Saturday February 22, 2020 @09:25AM (#22391171)
Graal probably. Apple seems to not like JITs so shipping the JVM might be out of the question.
Re:State of Clojure 2020 by zenlot on Friday February 21, 2020 @02:20PM (#22385903)
And the 'problem' is not a problem at all.
Re:State of Clojure 2020 by predators372 on Friday February 21, 2020 @08:22AM (#22382855)
Are you watching projects like Janet language? For me, JVM is a nonstarter in any capacity, but I welcome that PLT circles are learning from Clojure's design choices and that other lisps are increasingly feasible.

It's not clojure, but it's clojure-ish enough that it can be pleasantly productive for little scripting tasks and smaller problems.

Re:State of Clojure 2020 by mark_l_watson on Friday February 21, 2020 @07:23PM (#22388418)
Another language with a syntax similar to Clojure is the Hy language built on Python (I just released a book on Hy https://leanpub.com/hy-lisp-python so I admit positive bias for the language). I used to use Clojure a lot for two consulting customers and I need to try it again. I think the project libpython-clj https://github.com/clj-python/libpython-clj looks very interesting for those of us who like Lisp and need access to deep learning tools.