|
|
|
|
|
by jbiason
616 days ago
|
|
(Just to be sorta pedantic) I don't think it's the version 1.x that promotes backward compatibility, but editions. In 2016, you could call your function `fn async(...) { ... }` without any issues, and you can still compile this code with the modern version of rustc. If you want to use the async features of Rust, you need to change your edition to at least 2018, which brings breaking changes in the language. And you can have a project that mixes those editions, and cargo will correctly use the edition asked for each crate. (So, I guess the ideal world would to first look at the package management in Python, and *then* try to introduce breaking changes. And I'm withholding how much I'm angry at the PSF for postponing having a decent package manager for 20 years and investing in removing the GIL and adding JIT.) |
|
All the more reason to take a breakage very seriously. This is even worse than the walrus operator. At least I can ignore that. This breaks working code for some notion of purity.