Last chapter on async Rust
This commit is contained in:
@@ -1,13 +1,10 @@
|
||||
# Intro
|
||||
|
||||
One of Rust's big promises is *fearless concurrency*: making it easier to write safe, concurrent programs.
|
||||
We haven't seen much of that yet. All the work we've done so far has been single-threaded:
|
||||
instructions executed one after the other, with strict sequencing. Time to change that!
|
||||
One of Rust's big promises is *fearless concurrency*: making it easier to write safe, concurrent programs.
|
||||
We haven't seen much of that yet. All the work we've done so far has been single-threaded.
|
||||
Time to change that!
|
||||
|
||||
In this chapter we'll make our ticket store multithreaded.
|
||||
We will start by allowing multiple users to interface with the same store at the same time. We'll then progress
|
||||
to having multiple instances of the store running concurrently while sharing the same data.
|
||||
|
||||
We'll have the opportunity to touch most of Rust's core concurrency features, including:
|
||||
|
||||
- Threads, using the `std::thread` module
|
||||
|
||||
Reference in New Issue
Block a user