I find that the best way to experiment with new libraries with C API is using LuaJIT FFI. Throw in a bit of ffi-reflect [2] and inspect [3] and it's the perfect REPL combo to try out a new library (let's be honest, code extracted documentation a-la doxygen is rarely a good how-to guide).


Sign in to participate in the conversation

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!