4 ms·
"Using C libraries in a portable way involves a bit of work: finding the library on the system or building it if it's not available, checking if it is compatibl
by jstewartmobile 7y ago
"Using C libraries in a portable way involves a bit of work: finding the library on the system or building it if it's not available, checking if it is compatible, finding C headers and converting them to Rust modules, and giving Cargo correct linking instructions. Often every step of this is tricky..."
Adding loads of complexity (i.e. more opportunities to screw something up) for a minor gain.
- pornel 7y agoNote that this mess isn't created by Rust. The difficulty of building arbitrary C libraries on all platforms comes from C.