Re:Bugs that the Rust compiler catches for you
by duckerude on Friday May 06, 2022 @04:05AM
(#31282616)
The oldest rustc version I target (for a tiny project, admittedly) is over 6 years old, and it's fine. When code works it also works on the latest release. When code doesn't work I get a reasonable compile-time error message, not a mysterious segfault at runtime.
It's not easy, even in a few hundred lines I had to remove many conveniences to go that far back, but it's very legible. The compiler has my back, I'm never confused about whose fault it is.
Rust is young, but I don't expect this to be any different in 2030.
Re:Bugs that the Rust compiler catches for you
by avgcorrection on Friday May 06, 2022 @05:57AM
(#31283340)
> Guess what, if you install a 10 year old version rust none of your code would not compile at all.
Rust was not stable in 2012 yet.
I do agree with your overall point though.
Guess what, if you install a 10 year old version rust none of your code would not compile at all. Your logic is so flawed its hard to believe you are being serious. If anything it's impressive that a 10 year old C compiler worked most of the time when most other languages are not stable on these timescales.