Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.



It'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.


I 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.




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

Search: