Idea: The “left-pad index”, a score for Rust crates that combines small size with popularity. The goal would be to find potential candidates for additions to the standard library, or at least merging into larger crates.
-
-
There are already projects out there that could, but don’t, allow use of the Rust standard library because of design disagreements. The bigger the stdlib gets, the more opportunities projects will have to object to various things.
-
But I don’t think this trumps all other concerns anymore: y’all have convinced me that keeping the number of trusted parties in a project small *is* good for security. So there is a tough tradeoff here.
End of conversation
New conversation -
-
-
Absolutely! This is a common complaint with Go and its standard library. Here's a real-world example: shaving 4MB off the Wireguard release executable by avoiding Go's net/http: https://git.zx2c4.com/wireguard-windows/commit/?id=b1a33fd099fdcc25b0edba9c0e3f2ea9f8d0d9c4 …
-
This is one of my big peeves about some standard libraries like this — pulling in a small function you need also pulls on megabytes of dependencies. I bet it needed a Unicode library. However, you can absolutely design APIs so this doesn’t happen.
- 4 more replies
New conversation -
-
-
Perhaps the stdlib should be offered in layers and let projects specify up to which layer they want to use it.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.