Re:Using Clojure in the command line with Babashka
by auganov on Wednesday September 02, 2020 @05:57PM
(#24358649)
A slightly simpler explanation: GraalVM solves the startup time but clojure's built-in eval wouldn't work after compilation so you need to reimplement it in a simpler way.
[ Parent
| on HN ]
Re:Using Clojure in the command line with Babashka
by michaelsbradley on Wednesday September 02, 2020 @07:23PM
(#24359346)
Are you certain that’s the case?
Re:Using Clojure in the command line with Babashka
by fulafel on Thursday September 03, 2020 @01:28AM
(#24361015)
That's a table of library compatibility w/ GraalVM, one reason for incompatibility can be use of runtime evaluation.
Re:Using Clojure in the command line with Babashka
by tincholio on Thursday September 03, 2020 @06:11AM
(#24362520)
I think it's related to dynamic loading of classes (and since Clojure functions get compiled to classes, this might be the issue), not really evaluation per se. But I haven't really looked at Graal native image for a while, so I'm not sure what's the current status.