| ▲ | cohani 17 hours ago | ||||||||||||||||
Focusing narrowly on memory safety is frequently a distraction that incompetent developers use to excuse their buggy code. "Sure, my Rust code might cause deaths and cause millions of dollars lost; and my code might be unsafe, insecure and incorrect; but at least my code is memory safe and easy to debug when I fuck it up!". And then it often turns out that Rust is not memory safe in practice. https://news.ycombinator.com/item?id=49697392 The real value of Rust is likely pattern matching and tagged unions. Apart from modules/packages that are not a disaster, like Gabriel Dos Reis the saboteur's disaster with modules in C++. | |||||||||||||||||
| ▲ | nilslindemann 16 hours ago | parent | next [-] | ||||||||||||||||
Were you intentionally rude with your first sentence or just unaware? | |||||||||||||||||
| |||||||||||||||||
| ▲ | aw1621107 13 hours ago | parent | prev | next [-] | ||||||||||||||||
> And then it often turns out that Rust is not memory safe in practice. https://news.ycombinator.com/item?id=49697392 For what it's worth, in that specific instance there's no memory safety issue since Rust is guaranteed to crash on stack overflow on Ubuntu (and probably other supported Linux distros) | |||||||||||||||||
| |||||||||||||||||
| ▲ | slopinthebag 7 hours ago | parent | prev | next [-] | ||||||||||||||||
this argument is so stupid, yes rust doesn't prevent all bugs but eliminating a large proportion of them is very obviously a good thing. | |||||||||||||||||
| ▲ | wannabe44 14 hours ago | parent | prev [-] | ||||||||||||||||
Indeed! They shrug it off when you ask them about supply chain safety or compiler complexity. I opine that post 1.0 they wasted precious engineering time trying to placate nodejs webshits over building the best systems language. | |||||||||||||||||
| |||||||||||||||||