21 ms·
Why not incrementally convert it to modern C++?
by K2L8M11N2 7y ago
Why not incrementally convert it to modern C++?
- muizelaar 7y agoProbably wanting memory safety.
- ancarda 7y agoI don't write C++ though I have written some C. I imagine it's easier to shoot yourself in the foot with C++ compared to Rust; it's specifically designed to be a safe language, whereas C++ had things like auto_ptr added Why have a half-way solution of porting to modern C++ when you can just write it in Rust?
- saagarjha 7y agoauto_ptr is gone since C++17.
- 101404 7y agoIf the code base needs to be rewritten anyway, why not to a memory safe language. Can be converted incrementally to Rust, too, because in the end its all machine code.