Rust’s Tokio library/crate seems pretty powerful. Followed a tutorial to create a basic chat server with it and it was quite easy in the end. Couldn’t have done it without a tutorial, of course, but the amount of code is minimal. Now trying to modify it a bit and introduce a binary packet format instead of a text line based one. Slow work, have to google everything.
http://developerlife.com/2024/01/13/write-simple-chat-server-in-rust/
[#]rust #tokio #absolute #noob
=> More informations about this toot | More toots from chakie@toot.community
text/gemini
This content has been proxied by September (ba2dc).