Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Clojure: SQLite C API with project Panama and Coffi (andersmurphy.com)
10 points by andersmurphy 6 months ago | hide | past | favorite | 2 comments


Man, this FFI looks extremely clean!


Author here.

I have zero C experience and I have to say the coffi library (clojure macros that wrap Java 22's Panama FFI) is super slick. Next thing I know I'm using pointers and arenas. I'm still amazed that it all works.

To be fair the SQLite C API docs are incredible and made the whole experience much more enjoyable.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: