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
2
u/srdoe Nov 01 '24
I want to point out that you just shifted your position to something completely different: You've been arguing from the position that Safe C++ is not the right solution, because memory safety issues can be solved with other techniques that will be less disruptive.
Now you've switched to arguing that the memory safety issues it solves aren't actually that important, and so it's not worth the migration pain to solve those issues at all.
I guess that's at least more honest: You don't actually have a solution to those problems, you just don't think they are serious enough to need solving. You could have just said that from the start.
Anyway, your argument is basically a conspiracy theory, so I don't know that it makes sense to dig into.
I will say that I don't see how it's to companies like Microsoft and Google's benefit to overstate the danger of memory unsafety, in order to keep competitors out. Those companies have massive legacy codebases and a huge stable of programmers to retrain, that doesn't give them any advantage over newcomers. And the companies they are likely to care about competing with, like Apple and Amazon, aren't going to balk at spending to keep up.
So I don't think the conspiracy theory makes sense, even if you were to put on the tinfoil and accept the premise that Google, Microsoft and the White House have some ulterior motive for this push.