babashka.ffi: call C libraries from Clojure, babashka and Node.js.
First standalone release of babashka.ffi, available on Clojars for JVM
Clojure, ClojureScript and nbb. The library is also built into babashka
1.13.220 and newer.
Call C libraries from JVM Clojure on JDK 25 or newer, or from applications
compiled with GraalVM 25 or newer. ClojureScript, nbb and shadow-cljs can
call C libraries on Node.js 26.1 or newer through node:ffi.
The library supports structs passed by value, functions with variable numbers of arguments, and callbacks. It also provides arenas to manage memory lifetimes and typed access to native memory.
Can you improve this documentation?Edit on GitHub
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |