Re:Loopr: A Loop/Reduction Macro for Clojure
by nathell on Wednesday December 07, 2022 @05:58AM
(#33892954)
Babashka is interpreted, though (with SCI), so it doesn’t quite meet the GP’s dream.
[ Parent
| on HN ]
Re:Loopr: A Loop/Reduction Macro for Clojure
by kitd on Wednesday December 07, 2022 @08:43AM
(#33894218)
Good point.
Alternative is to compile your Clj uberjar using GraalVM. Here's a project to document how to do that and which common libraries are compilable:
Re:Loopr: A Loop/Reduction Macro for Clojure
by didibus on Wednesday December 07, 2022 @03:13PM
(#33899607)
If you have it working in babashka though, it means it can also be used with Clojure and compiled to native using GraalVM. So anything that runs in babashka can be compiled to native as well. At least in theory.