Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Clojure "Hello, world" compiled with Graal running in Docker wasn't that bad: https://gist.github.com/cellularmitosis/66e024439cdefbc43375...


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!


Did you compare the GraalVM compiler with the open-source jaotc (java ahead of time compiler tool, from Java 9) ?


Jaotc is based on graalvm


Have you tried to build anything larger with Graal/Clojure?


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.


Not me, but the small CLI utilities form Michiel Borkent are pretty interesting:

- https://github.com/borkdude/clj-kondo

- https://github.com/borkdude/sci

- https://github.com/borkdude/babashka


I tried and failed to build a “hello world” http server using aleph.




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: