3 ms·
Yeah, so let me be clear: I can see why, especially when the std lib was in its formative stages, the project might have decided to keep it, uh, lithe. You have
by tptacek 5y ago
Yeah, so let me be clear: I can see why, especially when the std lib was in its formative stages, the project might have decided to keep it, uh, lithe. You have Python as a very good counterexample to "kitchen sink stdlib can be good". Python's stdlib is a kitchen sink that badly needs to be cleaned out, and never will.
You're right that Go has some degrees of freedom that Rust doesn't have, especially on performance. But people do have perf problems with the Go stdlib, and they replace components (amusingly, one of the first things I built in Go did its own sockets and its own polling because Go's timers were too expensive for what I needed).
I just think it's better to have a good-enough stdlib --- with well-thought out interfaces where you're not going to have net/http and then net/http2 and then net/http3, and 16 different ways to run a subprocess and read the output --- that people can optionally outdo with 3rd party dependencies, than the situation I think Rust is in right now, where you basically can't do anything without a bunch of dependencies.
I'm definitely not dunking on Rust. We do a bunch of Rust here and I mostly enjoy working in it.