Re:Rust: Enable WebAssembly backend by default
by Thaxll on Sunday November 26, 2017 @11:48AM
(#15781677)
Rust is not really good for web backends, it has no library for talking to popular service, the construct for networking are still uncertain / unstable / hard to use.
[ Parent
| on HN ]
Re:Rust: Enable WebAssembly backend by default
by bluejekyll on Sunday November 26, 2017 @12:16PM
(#15781845)
For reference, what I have used that makes me claim this without being misleading (not necessarily all at the same time):
https://rocket.rs/, https://rusoto.github.io/rusoto/rusoto_core/index.html, https://docs.rs/postgres/0.15.1/postgres/, https://docs.rs/kafka/0.7.0/kafka/, https://docs.rs/reqwest/0.8.1/reqwest/, as well as many other supporting libraries. I've not run into many things where there isn't already support.
Also, in terms of networking, if your doing blocking IO, the stdlib is fine. Otherwise, from my experience, I really like https://tokio.rs/ for non-blocking (I know people are torn on this one) and have used it in my DNS impl, https://github.com/bluejekyll/trust-dns
For more info on web and Rust, this is a great page: http://www.arewewebyet.org/