Dear @rustlang -- what web framework should I use if I want a good async/await experience and a good abstraction over websockets (like Elixir's Phoenix framework)? Does that even exist yet? Should I build one over Tide?
-
Show this thread
-
ngl Phoenix looks like the ideal framework to build this on, but also I'm interested in doing this in Rust and help build the tooling to bring it up to par.
4 replies 0 retweets 11 likesShow this thread -
I mean look at how NICE this is:https://github.com/hashrocket/websocket-shootout/blob/master/elixir/phoenix_socket/web/channels/room_channel.ex …
2 replies 1 retweet 15 likesShow this thread
Haha, I have trouble reading this code
. I'd be really curious what an equivalent Rust/JS API sketch would look like!
Oh and to answer your q: Tungstenite is a reasonable solution iirc, but it's not nearly as smooth as I'd like.
https://docs.rs/tungstenite/0.9.1/tungstenite/ …
1:52 PM - 7 Oct 2019
from Berlin, Germany
0 replies
0 retweets
1 like
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.