News for hackers. Stuff that matters.
Re:Improving Interoperability Between Rust and C++ by IshKebab on Monday February 05, 2024 @04:20PM (#39267353)
This would be nice, but the biggest pain I had with C++ is you can't use C++ types as values, e.g. as described here:

https://cxx.rs/binding/cxxstring.html

It's because Rust doesn't have move constructors. I doubt they're going to add move constructors to Rust so that seems kind of unsolvable which is a shame.

There are no comments on this comment yet.