lysdexic to RustEnglish · 1 year agoUniFFI - automatically generate foreign-language bindings targeting Rust librariesmozilla.github.ioexternal-linkmessage-square8fedilinkarrow-up125arrow-down10
arrow-up125arrow-down1external-linkUniFFI - automatically generate foreign-language bindings targeting Rust librariesmozilla.github.iolysdexic to RustEnglish · 1 year agomessage-square8fedilink
minus-squareVorpallinkfedilinkarrow-up2·1 year agoSeems rather limited: only targeting some high level languages. Now, if this could also generate C++ bindings i would be very interested.
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-squaresnaggenlinkfedilinkEnglisharrow-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.
Seems rather limited: only targeting some high level languages. Now, if this could also generate C++ bindings i would be very interested.
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.