Borkdude
Joined 15 years ago
Karma
1,857
Submissions
315
Member since
Dec 11
Joined 15 years ago
Cljbang.el is a small but powerful emacs package, letting me use the things from Clojure that I like most, in an Emacs/Elisp context, with a small footprint.
More info about Crema: https://github.com/oracle/graal/issues/11327
I'm also the author of babashka, a native fast-starting scripting tool for Clojure. For me it's interesting to contrast both approaches and learn more about the pros/cons of each.
Why does bb carry too much baggage? Because it has useful libraries like the above?
I'd use this when you need a smaller binary than Node.js, Bun or Deno. Performance of QuickJS isn't as good (no JIT) but still perfectly fine for hosting personal projects on a VPS. With local measurements I got 30k requests/s in the server. It uses less memory in a Hono app compared to Node.js and Bun.
So use this as a smaller (size and memory) lighter alternative to Node.js, I'd say with the trade-off of performance (similar to babashka I guess).
Perhaps this is also better suited for running stuff on a Raspberry PI etc.