▲ | blub 4 days ago | ||||||||||||||||||||||
This comment highlights a very important philosophical difference between the Rust community and the communities of other languages: - in other languages, it’s understood that perhaps the language is vulnerable to certain errors and one should attempt to mitigate them. But more importantly, those errors are one class of bug and bugs can happen. Set up infra to detect and recover. - in Rust the code must be safe, must be written in a certain way, must be proven correct to the largest extent possible at compile time. This leads to the very serious, solemn attitude typical of Rust developers. But the reality is that most people just don’t care that much about a particular type of error as opposed to other errors. | |||||||||||||||||||||||
▲ | zozbot234 4 days ago | parent | next [-] | ||||||||||||||||||||||
> ... it's understood that perhaps the language is vulnerable to certain errors and one should attempt to mitigate them. But more importantly, those errors are one class of bug and bugs can happen. Set up infra to detect and recover. > in Rust the code must be safe, must be written in a certain way, must be proven correct to the largest extent possible at compile time. Only for the Safe Rust subset. Rust has the 'unsafe' keyword that shows exactly where the former case does apply. (And even then, only for possible memory unsoundness. Rust does not attempt to fix all possible errors.) | |||||||||||||||||||||||
| |||||||||||||||||||||||
▲ | J_Shelby_J 4 days ago | parent | prev [-] | ||||||||||||||||||||||
> This leads to the very serious, solemn attitude typical of Rust developers. Opposite really. I like rust because I can be care free and have fun. |