2 ms·
FFI is painful, to be sure. Making sure the bindings you say you're using match the ones you're actually using is tedious and error-prone. Which is where CXX
by couchand 5y ago
FFI is painful, to be sure. Making sure the bindings you say you're using match the ones you're actually using is tedious and error-prone.
Which is where CXX comes in: the static analysis tells you if you're holding it wrong. So to your first point, the compiler will tell you exactly what needs to change.
I don't know what the developer experience with D/C++ interop looks like, but unless I'm missing something big I'd assume you'd still need to make changes when the library has updates.