ZILtoid1991@lemmy.world to Programmer Humor@programming.dev · 2 months agoIt's official, Rust is an anti C/C++ elitist slurlemmy.worldexternal-linkmessage-square97fedilinkarrow-up1418arrow-down132
arrow-up1386arrow-down1external-linkIt's official, Rust is an anti C/C++ elitist slurlemmy.worldZILtoid1991@lemmy.world to Programmer Humor@programming.dev · 2 months agomessage-square97fedilink
minus-squareEphera@lemmy.mllinkfedilinkarrow-up2·2 months agoYeah, Rust has pretty good integration of it: https://doc.rust-lang.org/nomicon/ffi.html#calling-rust-code-from-c You do lose some of the Rust-y-ness, because obviously the C ABI is much more simplistic, but in terms of a stable ABI, it’s impossible to beat C.
Yeah, Rust has pretty good integration of it: https://doc.rust-lang.org/nomicon/ffi.html#calling-rust-code-from-c
You do lose some of the Rust-y-ness, because obviously the C ABI is much more simplistic, but in terms of a stable ABI, it’s impossible to beat C.