Skip to content

Details

Agenda:

• 18:15 Welcome & networking
• 18:30 News and Announcements
• 18:35 Workshop starts
• 19:30 Pizza Break
• 19:45 Workshop continues
• 21:00 End of the session

What can you expect from this workshop?

This is a hands-on workshop. We'll introduce a concept and we'll proceed to exercise it. This pattern will be repeated through all the concepts presented during the event. We think pairing is the best format to discuss the topics presented and we'll encourage it, though you do not need to pair if you prefer to work by yourself.

  • We'll start from principles, when and why go concurrent, we'll code our first "hello world" thread.
  • We'll move then to the backbone of the Rust concurrency model, the Sync and Send traits. We'll transform a sequential program to a concurrent one using the techniques learned.
  • We'll create a thread pool for the previous example.
  • Finally we'll have a quick intro to some tools and concepts that are trending in the community and you definitely should be aware of: Rayon, Futures and async/await. So you know what you can look for next.

At the end of the session you should leave having a basic understanding of the concurrency model in Rust, when its worth using it, how to use it and what resources you should check out to learn more. We'll keep advanced topics like Atomics for a future session.

Food (Pizza & Fruits) and Drinks (Beer & Juices) will be provided.

Related topics

You may also like