Re:Rust 1.x seems to not always be backward compatible in pr...
by dilap on Sunday June 13, 2021 @09:52AM
(#27492608)
just checked: the first Go code i ever wrote, over 8 years ago, still compiles flawlessly. obviously the world is filled with trade-offs, but my oh my is it nice to use a language that doesn't break old code.
I think that's pretty good, especially for such a young language with some ongoing significant changes. And I think that's stable enough for a production environment where there's an expectation of minimal ongoing maintenance. It means you rarely have to touch your code through updates, but occasionally will need to tweak something.
But it does add up, and something 5 years old is decently likely to not compile. I personally ran into something like that digging up an old project, and the problem is it's hard to incrementally fix it, since at that point all the dependencies are quite old, too. And there's a complex relationship between the dependencies snapshotted at that moment, and so probably you can just update them all to the very newest version and they'll be compatible, but somewhere in the middle is hard.