4 ms·
It's by far the best FFI implementation in the industry across all languages. You can even setup a GCC workflow to automate the bindings by stripping informatio
by andrewmcwatters 2y ago
It's by far the best FFI implementation in the industry across all languages. You can even setup a GCC workflow to automate the bindings by stripping information from headers.
I'm disappointed by the FFI experience everywhere else, it makes you feel like you're doing software development in the stone ages.
- lifthrasiir 2y agoI think that's because FFI is only a small (and rather easily automatable in other means) portion of making a usable binding for the target language.
- lowq 2y agoIt's fantastic when embedding Lua in a self contained executable too! I have a routine that goes through and 'cdef's certain headers that were also #included at compile time. Super powerful extending a C program this way.