Toot

Written by Ben on 2024-08-20 at 18:03

@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

Mentions

=> View chakie@toot.community profile

Tags

Proxy Information
Original URL
gemini://mastogem.picasoft.net/toot/112995663163602639
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
227.768247 milliseconds
Gemini-to-HTML Time
0.299023 milliseconds

This content has been proxied by September (ba2dc).