Re:GraalVM: The holy graal of polyglot JVM?
by cellularmitosis on Monday September 16, 2019 @04:38PM
(#20988332)
Clojure "Hello, world" compiled with Graal running in Docker wasn't that bad: https://gist.github.com/cellularmitosis/66e024439cdefbc43375...
[ Parent
| on HN ]
Re:GraalVM: The holy graal of polyglot JVM?
by dkersten on Monday September 16, 2019 @08:30PM
(#20989953)
Oh, cool! I tested clojure and graal some months back and, at the time, it was a lot clunkier to get working and only worked with clojure 1.9. This looks much simpler and works with 1.10, awesome!
Re:GraalVM: The holy graal of polyglot JVM?
by antpls on Tuesday September 17, 2019 @03:09AM
(#20992479)
Did you compare the GraalVM compiler with the open-source jaotc (java ahead of time compiler tool, from Java 9) ?
Re:GraalVM: The holy graal of polyglot JVM?
by diroussel on Tuesday September 17, 2019 @08:35AM
(#20994201)
Jaotc is based on graalvm
Re:GraalVM: The holy graal of polyglot JVM?
by mooreds on Monday September 16, 2019 @04:44PM
(#20988397)
Have you tried to build anything larger with Graal/Clojure?
Re:GraalVM: The holy graal of polyglot JVM?
by lvh on Monday September 16, 2019 @05:27PM
(#20988732)
I'm not GP, but we have done several native Clojure CLI apps with Graal:
https://github.com/latacora/wernicke
https://github.com/latacora/recidiffist-cli
https://github.com/latacora/caro
As well as several internal tools. It mostly works fine. Graal is actually the default JDK on my development machine.
If there's one thing I'd fix, it's the ability to bake dylibs into the single binaries. E.g. if you want good elliptic curve TLS, you need sunec.so/dylib/dll, and part of the point for native-image for us is the ability to ship a single binary.
Re:GraalVM: The holy graal of polyglot JVM?
by Heliosmaster on Tuesday September 17, 2019 @03:14AM
(#20992504)
Not me, but the small CLI utilities form Michiel Borkent are pretty interesting:
- https://github.com/borkdude/clj-kondo