What a wonderful excuse to dive back into Clojure! This looks fantastic. I wonder what neat stuff might be made in Clojure thanks to a C FFI that wasn’t doable on top of the JVM.
I've been diving back into Clojure just recently and this will be something I'll be trying to use immediatley.
Note that nowadays with Panama, there are more FFI opportunities in JVM implementations as well.
Although it is rather verbose, and it is easier to have a C header and run jextract on it, instead of the manual boilerplate.
No idea how well AI tooling would manage.