3 ms·
> logic bugs, SQL injection, quoting, filesystem traversal... Actually Rust does go quite far in reducing the probability of these bugs, even if it doesn't hav
by IshKebab 3y ago
> logic bugs, SQL injection, quoting, filesystem traversal...
Actually Rust does go quite far in reducing the probability of these bugs, even if it doesn't have specific features for it. This is through a combination of:
* really strong type system ("if it compiles it works")
* Better ergonomics, e.g. using prepared queries is much easier than in C.
* Library code being generally very high quality, and easy to obtain.