|
|
|
|
|
by mbsai29
671 days ago
|
|
If you are working with async rust, this book is a must-read. Clearly explains most of the primitives that are used in rust like Arc, Mutex, etc. The examples in the github repo are quite helpful and fairly intuitive if you follow along. |
|
If you want to write a HTTP server, people are guided towards Axum/Tokio, and thus async rust.
If you want to use async Rust, read this book?
This books covers assembly level atomics, and creating your own channels, in beginner chapters.
Is that necessary for writing a HTTP server in Rust?
From the topics in the TOC, this book is useful of you want you write concurrency primitives. I wouldn't recommend it if you just want to _use_ Arc/Mutex/crossbeam-channel.