@[email protected] to Programmer [email protected] • 2 months agoIt's official, Rust is an anti C/C++ elitist slurlemmy.worldmessage-square97fedilinkarrow-up1413
arrow-up1413imageIt's official, Rust is an anti C/C++ elitist slurlemmy.world@[email protected] to Programmer [email protected] • 2 months agomessage-square97fedilink
minus-square@[email protected]linkfedilink4•edit-22 months agoHmm. So I guess it comes down to what OP is doing. They either want to write a Rust library, or something that uses a Rust library that may not be standardised or even exist yet. If the latter, they should stick with C.
minus-square@[email protected]linkfedilink3•2 months agoWriting C bindings to a Rust library is the easier scenario because you can rely on the safe code having nice and clean memory semantics.
Hmm. So I guess it comes down to what OP is doing. They either want to write a Rust library, or something that uses a Rust library that may not be standardised or even exist yet. If the latter, they should stick with C.
Writing C bindings to a Rust library is the easier scenario because you can rely on the safe code having nice and clean memory semantics.