4 ms·
It absolutely does not belong in the standard library. That said, Rust does need a "go-to" stable library for web serving, like what Express is for Node. It mig
by _bxg1 7y ago
It absolutely does not belong in the standard library. That said, Rust does need a "go-to" stable library for web serving, like what Express is for Node. It might make sense for the core team to endorse one, or even spend time helping one of the most prominent ones move forward, but I think it needs to remain separate.
- pikelet 7y agoNode has an HTTP server in the standard library. A framework it's another thing. My view is that (for example) Go's HTTP implementation will age well, because it is consistent with the design of the rest of the standard library. An HTTP client/server can certainly have a place in a standard library, providing that it is well defined, consistent in style, and keeps its scope sufficiently small.
- _bxg1 7y agoNode and Go are both purpose-built for the web. Rust's target market is much broader than that; some people even use it on embedded devices. One of its headlining features is its slim standard library. That trait shouldn't be thrown away without good reason.