|
|
|
|
|
by pornel
1917 days ago
|
|
I know lots of Rust newcomers have an expectation that the standard library should be all they need, and dependencies should be avoided, but that's not Rust. In Rust dependencies are good, you're supposed to use them. If something can be implemented well outside of std, it should probably remain outside std. The problem is that a standard library is a heavy burden for a language, and a huge risk for its longevity (think 40 years from now). It promises that the first stable release of any feature will work forever, and never change. It's an unrealistic promise for anything non-trivial. In other languages it often played out like this: 1. std added a feature, 2. it turned out that it wasn't the best API, but it couldn't be fixed, 3. people fed up with the poor std API wrote a replacement, 4. everyone has to be reminded "don't use the std version, use the replacement instead" forever. Rust jumps straight to the point 4. |
|