2 ms·
> rewriting everything in Rust, or refactoring existing code to take advantage of RAII? Oh, refactoring existing C++ code is easier, hands down. You can, for
by cogman10 5y ago
> rewriting everything in Rust, or refactoring existing code to take advantage of RAII?
Oh, refactoring existing C++ code is easier, hands down.
You can, for the most part, keep your C++ algorithms exactly as is with little rewriting. Rewriting in rust may force you to totally rethink your approach (or use a lot of unsafe, or write really inefficient code).