|
|
|
|
|
by sizediterable
1660 days ago
|
|
> In my experience, porting code more or less directly from one language to another is faster and easier than people assume Converting code to Rust while keeping the logic one-to-one wouldn't work. Rust isn't ensuring memory safety by just adding some runtime checks where C/C++ aren't. It (the borrow checker) relies on static analysis that effectively tells you that the way you wrote the code is unsound and needs to be redesigned. |
|
I agree that this might slow down the process of porting the code though. I wonder how much by?