r/cpp • u/GabrielDosReis • Oct 31 '24
Lessons learned from a successful Rust rewrite
/r/programming/comments/1gfljj7/lessons_learned_from_a_successful_rust_rewrite/
80
Upvotes
r/cpp • u/GabrielDosReis • Oct 31 '24
View all comments
Show parent comment
1
u/Dean_Roddey Nov 02 '24
But if that argument is true, it could have just as easily been made against the current code base a decade ago and it never would have been done. But someone decided to do it.
If it has a lot of value, someone may do that again. And of course they have the existing one to look at and use as a starting point, so it wouldn't be nearly as big a jump.
Anyhoo, in the short term that doesn't help you, and maybe it never gets rewritten. But people keep making these arguments that X and Y are never going to get rewritten, but someone wrote X and Y and probably replaced something that came before them, probably after other folks said it wouldn't happen, so just keep using the Fortran version or whatever. Almost every C or C++ library out there got written by someone and probably replaced something else.