News for hackers. Stuff that matters.
Re:All Algorithms Implemented in Rust by 29athrowaway on Monday August 22, 2022 @11:32AM (#32552912)
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++.

Re:All Algorithms Implemented in Rust by kaba0 on Monday August 22, 2022 @03:16PM (#32555879)
Small, 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.