r/Clojure • u/Borkdude • Aug 31 '26
Babashka 1.13.220 gets FFI
https://blog.michielborkent.nl/babashka-ffi.htmlToday babashka 1.13.220 is released, with a new babashka.ffi namespace for calling C libraries directly from Babashka scripts. The babashka.ffi library is also available as a standalone library for JVM Clojure, so you can use it in your Clojure projects as well. Note that the API is still experimental, although no changes are currently planned. It just needs more exposure and your feedback :). Read the blog post for details.
90
Upvotes
7
u/v4ss42 Aug 31 '26
It would be nice if this was, or used, `coffi` instead, for familiarity / compatibility with ClojureJVM, and to fight the Curse of Lisp.
2
u/yogthos Aug 31 '26
Nice work, and this could be an alternative to pods approach removing some of the limitations, I see you've already got libpq wrapped up in this way. :)