Skip to content

Comment on Battery packs: Let's talk about crates, baby

Comments

Everybody agrees that Rust's ecosystem is too fragmented, but I don't think that the solution proposed here will solve anything.

The most promising project to solve this problem is https://github.com/rust-stdx/stdx which is (more or less) re-creating Go's standard library in Rust.

The guy that is making stdx has been doing various shady stuff in his books and code which have resulted in all his stuff being banned on /r/rust. In stdx, he’s been forking good code, violating licenses, completely rewriting stuff with LLMs (including cryptography code, and definitely introducing bugs in the process)… it’s not a good approach.

You're advocating for one solution that has two problems:

* It is precisely what TFA goes in for: a one-stop shop (somewhat application dependent)

* It is antithetical to the "embarassment of riches" approach that Rust tried for when they delegated almost all functionality to crates - the ecosystem has proven fruitful

Oh and a third:

https://xkcd.com/927/

It seems to me that advocacy, writing good applications, or human-readable guides will do more for convergence on crate bundles than a more technical solution. I reach for the crates I know, not yet-another-framework.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.