lysdexic@programming.dev to Rust@programming.devEnglish · 1 year agoUniFFI - automatically generate foreign-language bindings targeting Rust librariesmozilla.github.ioexternal-linkmessage-square9fedilinkarrow-up125arrow-down10
arrow-up125arrow-down1external-linkUniFFI - automatically generate foreign-language bindings targeting Rust librariesmozilla.github.iolysdexic@programming.dev to Rust@programming.devEnglish · 1 year agomessage-square9fedilink
minus-squareKnusper@feddit.delinkfedilinkarrow-up2·1 year agoHmm, but Rust has native generation of C bindings. Is there a big difference with C+±specific bindings?
minus-squaresnaggen@programming.devlinkfedilinkEnglisharrow-up4·1 year agoIf you refer to bindgen it also supports C++, and since Mozilla who was the main driver of rust uses C++ I assume the bindgen for that is pretty good.
minus-squareKnusper@feddit.delinkfedilinkarrow-up2·1 year agoAh, thanks. I did not know that, but I figured, if C+±specific bindings make sense, then Mozilla would have built something for that, before working on UniFFI.
Hmm, but Rust has native generation of C bindings. Is there a big difference with C+±specific bindings?
If you refer to bindgen it also supports C++, and since Mozilla who was the main driver of rust uses C++ I assume the bindgen for that is pretty good.
Ah, thanks. I did not know that, but I figured, if C+±specific bindings make sense, then Mozilla would have built something for that, before working on UniFFI.