Python cryptography, Rust, and Gentoo
Python cryptography, Rust, and Gentoo
Posted Feb 11, 2021 5:22 UTC (Thu) by roc (subscriber, #30627)In reply to: Python cryptography, Rust, and Gentoo by BirAdam
Parent article: Python cryptography, Rust, and Gentoo
Rust is incredibly good at avoiding compatibility breaks in practice. They are very rare and generally involve discovering that some code pattern is unsound and needs to be illegal. My Rust project is nearly 5 years old at this point and we hardly ever have had to deal with compatibility breaks. When there rarely is a break, it almost always manifests as your code failing to build with a new version of the compiler.
On the other hand, in practice C *does* have compatibility breaks. All large C programs contain bugs where they rely on subtle undefined behavior. Periodically a compiler update will change how they handle that behavior. This is worse than Rust because these regressions are generally not caught at compile time, they will show up in testing or production.
