Rust friendos: what’s the absolute best resource to learn how to write a Rust async http service correctly? And do warn me off if it’s STILL too early, because while I’m willing to sweat I’m not willing to have the entire world change out from under me again.
-
-
This Tweet is unavailable.
-
Replying to @MichelleS_68 @ceejbot
Decide on async-std or tokio. async-std is easier to use than tokio, but sacrifices some perf. If you need a simple web service, you can look at https://github.com/seanmonstar/warp … but you are going to have to figure out db, logging, etc. I am personally waiting for the ecosystem to mature.
2 replies 0 retweets 5 likes
Just a heads up: next week async-std gets a brand runtime. We did some HTTP benchmarks against tokio and performance numbers are almost exactly the same - there are no tangible differences we could find.
0 replies
1 retweet
9 likes
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.