@chakie The main library I'm using is https://tokio.rs, which is an out-of-the-box async framework, so the server can use as many threads as there are cores without making a thread for each request.
On top of that is tokio_tungstenite, which is used for WebSocket connections (which my game uses to talk to the lobby server).
If you haven't done async programming in the past, it can be a bit mind-bending, but once you get used to how data is sent between tasks, it's great!
=> More informations about this toot | View the thread | More toots from drwhut@fosstodon.org
=> View chakie@toot.community profile
text/gemini
This content has been proxied by September (ba2dc).