Post #3884595
2026-07-14 07:14 UTC
Implementing a JIT for SCI on CLJS which compiles loops, function calls, and interop whenever possible (if the host allows it, else fallback to interpretation).
Near native speeds.
$ node lib/nbb_main.js -e '(time (print (loop [i 0 j 10000000] (if (zero? j) i (recur (inc i) (dec j))))))'
10000000
"Elapsed time: 9.315083 msecs"
#clojure #babashka #nbbcljs #scittlecljs
Replies (0)
No replies.