Recent submissions

Comment · 2 months ago
Author here!

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.

Comment · 3 months ago
I'm the author of cljbang.el.

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.

Comment · 5 months ago
This is about using a JS feature without bringing in any additional dependencies like core.async. You don't have to use it and you can still use core.async. This was the most asked for feature in the recent ClojureScript survey.
Comment · 8 months ago
Author here. This is an experiment to run the Clojure compiler in a GraalVM native-image with Crema enabled. Crema is a new way to dynamically load JVM bytecode in a native-image using an interpreter.

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.

Comment · 8 months ago
Thanks :)
Comment · 8 months ago
Author here. Babashka is a native Clojure interpreter for scripting, it starts in ~5-20ms instead of the usual JVM startup. This release adds JLine3 for building TUIs, a completely revamped console REPL, and a bunch of library compatibility improvements. The charm.clj counter example in the post is a single-file script you can run right away to get an idea of the new TUI capabilities. Have fun scripting!
Comment · 10 months ago
Babashka now has a built-in markdown library. Babashka now also has a built-in HTML parsing library: Jsoup.

Why does bb carry too much baggage? Because it has useful libraries like the above?

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton