4 ms·
I can't wait for all the fun new bugs introduced when subsystems are rewritten in Rust for the sake of it. (OK, a bit sarky, but still, Rust isn't a magic bull
by fredoralive 4y ago
I can't wait for all the fun new bugs introduced when subsystems are rewritten in Rust for the sake of it.
(OK, a bit sarky, but still, Rust isn't a magic bullet...)
- deleted 4y ago[deleted]
- UltraViolence 4y agoYou're wrong. It IS a magic bullet. Of course it won't fix all those half-assed logical bugs, but it will put an end to memory and thread related bugs, of which there are many.
- pitaj 4y agoRust also provides a lot of tools that make it easier to avoid logic bugs, like algebraic data types.
- kalekold 4y agoLinus Torvalds disagrees. And the reality is that there are no absolute guarantees. Ever. The "Rust is safe" is not some kind of absolute guarantee of code safety. Never has been. Anybody who believes that should probably re-take their kindergarten year, and stop believing in the Easter bunny and Santa Claus. https://lkml.org/lkml/2022/9/19/1105#1105.php https://lkml.org/lkml/2022/9/19/1105#1105.php
- UltraViolence 4y agoThis has nothing to do with 'absolute safety' (whatever that entails) but about vastly increased memory and thread safety compared to C. Torvalds is merely stating the obvious and being a obnoxious dick-head at the same time.
- alkonaut 4y agoA bad rewrite from an unsafe to a safe language would mean safety issues traded for logical errors in most cases. Which sounds like a win if you ask me. So even the "rewrite it in Rust, badly" has a decent ring to it tbh (although I'm not arguing there should be a rush to so).