|
|
|
|
|
by chrismorgan
3189 days ago
|
|
That’s about what I expected; thanks. Just for reference for people reading this: rust-bindgen can produce bindings to C++ code these days, though that gets you an unsafe library; you’d want to build another thin layer on top of it to nail down the ownership semantics so that you can provide a safe interface. |
|
> using [C++] types in Rust will be nowhere near as nice as using them in C++. You will have to manually call constructors, destructors, overloaded operators, etc yourself.
source: https://github.com/rust-lang-nursery/rust-bindgen/blob/maste...