4 ms·
Yup, Rust as an ecosystem feels very similar to JS. Part of this might be because some core Rust facilities are lacking. For example, many projects use the "an
by resonious 2y ago
Yup, Rust as an ecosystem feels very similar to JS.
Part of this might be because some core Rust facilities are lacking. For example, many projects use the "anyhow" library for error handling. It could also be because having a good package manager makes it so easy to add dependencies, and that reduced friction just naturally makes people tend to add many dependencies.
- giyanani 2y ago“Lacking” implies it’s an unintentional deficiency. Rust has deliberately taken a “batteries not included” approach due to learned experiences in python, where many std-lib packages are basically abandoned/not recommended anymore. This gives the ecosystem time to develop better approaches to things, rather than ossifying around the initial implementation. Yes, it does lead to a larger set of dependencies, but some of the most common packages (including anyhow) were written and are maintained by members of the rust lang organization/team itself.