3 ms·
If Rust had a standard library like Go's I'd love it even more.
by spieglt 7y ago
If Rust had a standard library like Go's I'd love it even more.
- pcwalton 7y agoEven if that library had slow serialization like that of Go, forcing the use of packages to make it faster?
- ninkendo 7y agoSo we'd be no worse off than we are now? And just in that one case?
- TheCoelacanth 7y agoExcept for all of the wasted work for maintainers to maintain the crappy library that has a better replacement outside of the standard library.
- majewsky 7y agoGo's standard library works for Go because it has a rather sharp focus on implementing web services. It's worthless for implementing a GUI application, or a particle physics simulation, or a PID-1 daemon. Rust has a much broader aim, so a stdlib accommodating all of its usecases would be as comically huge as Python's, with all the problems that come from that.
- deleted 7y ago[deleted]
- spieglt 7y agoIt's also good for crypto, image processing, logging, file compression, and other commonly useful things. Go does have an emphasis on network services but is not limited to that. "a stdlib accommodating all of its usecases would be as comically huge as Python's, with all the problems that come from that." That's a straw man. I don't want a stdlib like Python's, I want one like Go's.