Skip to content
Snippets Groups Projects
Commit 6c23af93 authored by orestis.malaspin's avatar orestis.malaspin
Browse files

only french

parent 7768696a
Branches
No related tags found
No related merge requests found
Pipeline #
...@@ -515,7 +515,7 @@ fn main() { ...@@ -515,7 +515,7 @@ fn main() {
} }
</code></pre> </code></pre>
## Finally channels: `std::sync::mpsc` (1/2) ## Finalement: `std::sync::mpsc` (1/2)
Multi Producer, Single Consumer model. Multi Producer, Single Consumer model.
...@@ -543,23 +543,24 @@ fn main() { ...@@ -543,23 +543,24 @@ fn main() {
} }
</code></pre> </code></pre>
## Finally channels: `std::sync::mpsc` (2/2) ## Finalement: `std::sync::mpsc` (2/2)
Ce qui se passe en mémoire Ce qui se passe en mémoire
![](figs/mem_channel.svg){#fig:mem_channel width=45%} ![](figs/mem_channel.svg){#fig:mem_channel width=45%}
# External crates # Librairies
## `crates.io` ## `crates.io`
- These are the basic concurrency primitives in the Rust std. - Dépôt de librairies pour Rust.
- For more rely on crates: `rayon` for example. - Les primitives que nous venons de voir sont les seules disponibles dans la `std`.
- Pour "plus": `rayon` ou `crossbeam` par exemple.
# And many more # Et beaucoup plus
- Error handling: `Option`, `Result`. - Gestion d'erreurs: `Option`, `Result`.
- Tests (documentation testing). - Tests ("documentation testing").
- Benchmarks (`nightly only`). - Benchmarks (`nightly only`).
- *Hygienic* `macros!`. - *Hygienic* `macros!`.
- Cargo. - Cargo.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment