Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
rust
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
orestis.malaspin
rust
Commits
6c23af93
There was a problem fetching the pipeline summary.
Commit
6c23af93
authored
6 years ago
by
orestis.malaspin
Browse files
Options
Downloads
Patches
Plain Diff
only french
parent
7768696a
No related branches found
No related tags found
No related merge requests found
Pipeline
#
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
presentation/intro.md
+9
-8
9 additions, 8 deletions
presentation/intro.md
with
9 additions
and
8 deletions
presentation/intro.md
+
9
−
8
View file @
6c23af93
...
...
@@ -515,7 +515,7 @@ fn main() {
}
</code></pre>
## Final
ly channels
: `std::sync::mpsc` (1/2)
## Final
ement
: `std::sync::mpsc` (1/2)
Multi Producer, Single Consumer model.
...
...
@@ -543,23 +543,24 @@ fn main() {
}
</code></pre>
## Final
ly channels
: `std::sync::mpsc` (2/2)
## Final
ement
: `std::sync::mpsc` (2/2)
Ce qui se passe en mémoire

{#fig:mem_channel width=45%}
#
External crat
es
#
Librairi
es
## `crates.io`
-
These are the basic concurrency primitives in the Rust std.
-
For more rely on crates:
`rayon`
for example.
-
Dépôt de librairies pour Rust.
-
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`
.
-
Tests (documentation testing).
-
Gestion d'erreurs
:
`Option`
,
`Result`
.
-
Tests (
"
documentation testing
"
).
-
Benchmarks (
`nightly only`
).
-
*Hygienic*
`macros!`
.
-
Cargo.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment