this post was submitted on 29 Aug 2023
24 points (100.0% liked)

Rust

5778 readers
36 users here now

Welcome to the Rust community! This is a place to discuss about the Rust programming language.

Wormhole

!performance@programming.dev

Credits

  • The icon is a modified version of the official rust logo (changing the colors to a gradient and black background)

founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] Knusper@feddit.de 2 points 1 year ago (1 children)

Hmm, but Rust has native generation of C bindings. Is there a big difference with C++-specific bindings?

[–] snaggen@programming.dev 4 points 1 year ago (1 children)

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.

[–] Knusper@feddit.de 2 points 1 year ago

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.