3 ms·
> Rust can interoperate with C libraries True, but speaking as an embedded developer and Rust fan: embedded C libraries just love their #defines in public APIs
by adwn 7y ago
> Rust can interoperate with C libraries
True, but speaking as an embedded developer and Rust fan: embedded C libraries just love their #defines in public APIs. This makes interfacing with them from anything but C or C++ more cumbersome, because you can't just declare "extern" functions, you also have to translate the #define macros, which are sometimes non-trivial.