ZILtoid1991@lemmy.world to Programmer Humor@programming.dev · 1 month agoIt's official, Rust is an anti C/C++ elitist slurlemmy.worldimagemessage-square94fedilinkarrow-up11arrow-down10
arrow-up11arrow-down1imageIt's official, Rust is an anti C/C++ elitist slurlemmy.worldZILtoid1991@lemmy.world to Programmer Humor@programming.dev · 1 month agomessage-square94fedilink
minus-squareCanadaPlus@lemmy.sdf.orglinkfedilinkarrow-up0·1 month 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 letter, they should stick with C.
minus-squarebarsoap@lemm.eelinkfedilinkarrow-up0·1 month 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 letter, 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.