Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

It's easy to call C++ code from Rust but it's often not trivial to wrap a C++ library with a safe Rust interface. C++ APIs often have implicit ownership structures that are difficult to encode using Rust's lifetimes.

To be fair, that doesn't put Rust in a worse position than any other language binding a C++ API. It's just that Rustaceans tend to have higher expectations in terms of safety.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: