4 ms·
I think it is also important to remember that most crates are just unused hobby projects nobody cares about anymore, since you can push anything to crates.io.
by booblik 5y ago
I think it is also important to remember that most crates are just unused hobby projects nobody cares about anymore, since you can push anything to crates.io.
- pjmlp 5y agoThat is the danger of a tiny standard library and a cascade of dependencies with various levels of quality and supported platforms.
- pdimitar 5y agoI agree Rust's standard library can definitely be a bit more brave and include more things but calling it tiny is a bit of a stretch, no?
- pjmlp 5y agoNope, given that even for basic stuff like better error handling, or async runtime, one needs external crates.
- pdimitar 5y agoYeah, seems like some things were a bit rushed (async) because there was a worry about marketing and adoption -- worries that I think most of us will agree should have been lower priority. But we also know that things to do stdlib to die, right? Python is a famous example; almost every Python dev I know never uses the builtin HTTP client APIs. So eh, I am okay with having de facto standards in the form of widely accepted libraries. On a separate note, I had really high hopes for Rust 2021 edition. They had a chance to introduce new syntaxes and address error handling at least but they opted not to do so. Disappointing.
- pjmlp 5y agoStdlib works on every platform the language targets, third parties is anyone's guess. When I have Python installed, I can be 100% sure of what works, regardless how uncool the library might happen to be, so those builtin http client libraries will be used.