4 ms·
Yes, but an important reason to migrate a solution to Rust are the guarantees that it offers with respect to safety. Those guarantees go away if you use "unsaf
by 29athrowaway 4y ago
Yes, but an important reason to migrate a solution to Rust are the guarantees that it offers with respect to safety.
Those guarantees go away if you use "unsafe". In that case, you may just use C or C++.
- kaba0 4y agoSmall, encapsulated uses of unsafe wrapped in a safe wrapper are entirely different than thousands of lines of unsafe. Also - many of the borrow checker’s guarantees are enforced inside unsafe as well.