rust

Protohackers in Rust: Budget Chat

This is the fourth article of the series solving protohackers with Rust. The code in this series will be available on GitHub # The Challenge In the fourth challenge we have to implement a simple chat server. Each message is a single line terminated b…

Enrico Risa |
|
19 min |
3781 words

Protohackers in Rust: Means to an End

This is the third article of the series solving protohackers with Rust. The series index is available here. The code in this series will be available on GitHub # The Challenge In the third challenge we have to implement a simple binary protocol. Each …

Enrico Risa |
|
9 min |
1728 words

Protohackers in Rust: Prime Time

This is the second article of the series solving protohackers with Rust. In the previous article we implemented a simple Echo Server, a kind of hello world for network programming. This was useful to us for getting familiar with async rust using Tokio a…

Enrico Risa |
|
11 min |
2065 words

Protohackers in Rust: Echo Server

Thanks to @whatyouhide, I discovered protohackers, a series of challenges focused on network protocols. For each challenge, participants are required to write a server that implements a protocol spec. Once implemented, the server should be hosted somewher…

Enrico Risa |
|
8 min |
1513 words