News for hackers. Stuff that matters.
Re:Rust Atomics and Locks by Mara Bos by freddierest on Tuesday August 13, 2024 @07:32PM (#41240944)
There's quite an escalation of topics for Rust.

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.

There are no comments on this comment yet.