by marcrosoft · 7y ago · 0 comments
For me personally, I think Clojure (or any lisp) targeting Go would be awesome.
The JVM lacks a killer Go "feature" which is _native binaries/easy deployment. Common lisp and many other lisps lack community which is why I think Go+Lisp would make a great combo. Go, even though it is a new language, already outpaces (a much older) Common Lisp as far as libraries go due to the huge community Go has.
I know there is `zygomys` but it doesn't reach Clojure popularity/maturity.
Can Clojure target Go?
Edit:
Maybe it is infeasible but I think targeting JVM, Go, and JavaScript would give Clojure a ridiculous advantage over almost any current programming language.
It can turn a Clojure app into a single executable with excellent performance and memory characteristics.
All major commercial JDKs have such support, e.g. PTC, Aicas, IBM J9, IBM RealTime WebSphere, Imsys, Excelsior JET.
Additionally OpenJDK has been integrating such support since Java 9 via Graal and GraalVM.
It's a Clojure dialect written in Go. Currently, its mostly used as a linter but you can also do programming/scripting.