| > Good thing Rust doesn't just fix that one class of problems, but also provides better tooling to fix other classes too. Classes of problems that could be fixed with the other features of Rust mentioned later like the Hind... Wow, what a magical language! [ waves hands vigorously ] will fix all the problems which are inevitably introduced by auto-porting from one language to another, or by manually rewriting everything from scratch. Rust doesn't obey the same laws of the software universe as other languages, it seems. Rust will even automatically rewrite itself to use its own special idioms rather than whatever loser idioms it has sadly inherited from the C/C++ code which the developer, in his infinite benevolence, has decided to lift from its Dark Ages level of inadequacy to Modern Language Standards, with nothing but joy and happiness as the result. Miraculous. Or is this a "just use magic AI to do it all bro", type situation? In the latter case, why don't I just use the magic AI to auto-magically solve my C/C++ problems, rather than rewrite the entire universe from scratch? You know, like Google claims to have done for Chromium C++ sources in this very news article? > ...the vast majority of these features don't even run at compile time. Some of them can't even be implemented in C. For starters, show me an example of a Hindley Milner type system implemented for (how can someone improve a strictly compile time feature, static typing, with a runtime implementation is beyond me) What part of "I don't care about any of that crap" aren't you grasping? This is the type of shit noobs are always wringing their hands about, as they want new toys to play with and/or maximum guardrails to cover for their ineptitude. Which is exactly why Google wants these kind of things, as their median developer is some kid fresh out of college. They want a magic language that will protect the idiot programmer from himself and eliminate all errors, so that any trained monkey can use it, as they plan to train actual monkeys to do this if they can somehow get away with it. Well, that isn't Rust. Not even close. It's just the next horror show masquerading as a "fix." |
The language absolutely helps fix logic errors.
It's something that becomes immediately clear as soon as you start using the language in earnest.