Scoopfeeds — Intelligent news, curated.
computer-science

Biff.core: system composition for Clojure web apps

Hacker News · Jun 9, 2026, 4:12 PM

Key takeaways

  • As I wrote about previously, I've been working on splitting Biff up into a bunch of separate libraries and changing various things along the way.
  • biff.core: system composition and other interfaces for Biff projects.
  • Biff 2 retains that structure, and it has some additional stuff to deal with that boilerplate.

As I wrote about previously, I've been working on splitting Biff up into a bunch of separate libraries and changing various things along the way. I've completed a rough draft of all twelve libraries and am now going through them one-by-one to polish and release them. The first library is now ready.

biff.core: system composition and other interfaces for Biff projects. This is the glue that holds all the other libraries together, and that's why I'm releasing it first.

For a long time Biff has had this "modules and components" structure where each application namespace in your project exposes a "module" map, then you have a bunch of boilerplate to combine stuff from those modules into a single "system" map, and then we thread the system map through your "component" functions on startup. Biff 2 retains that structure, and it has some additional stuff to deal with that boilerplate.

Article preview — originally published by Hacker News. Full story at the source.
Read full story on Hacker News → More top stories
Aggregated and edited by the Scoop newsroom. We surface news from Hacker News alongside other reporting so you can compare coverage in one place. Editorial policy · Corrections · About Scoop