LOADING

Channels in Rust: The Art of Concurrency

We’ll take a deep dive into Rust channels — from synchronous channels to asynchronous channels — to explore how message passing enables reliable concurrent programming.

Gaurav Gahlot
Staff Software Engineer
About This Talk

Concurrency in Rust is powerful, but safe and efficient communication between tasks can be tricky to master. In this talk, we’ll take a deep dive into Rust channels — from synchronous channels to asynchronous channels — to explore how message passing enables reliable concurrent programming.

We’ll start with simple synchronous channels and examine common patterns for multi-producer and multi-consumer setups. Then we’ll move to asynchronous channels in Rust’s async ecosystem, showing how channels coordinate tasks in real-world systems. Along the way, we’ll discuss backpressure, error handling, and performance trade-offs, with practical examples inspired by cloud-native workloads like Kubernetes operators, runtime schedulers, and event pipelines.

Attendees will see live demonstrations of channels in action and learn how Rust’s ownership and type system ensures safety while enabling scalable, reliable concurrency. We’ll also compare different channel strategies and patterns to illustrate where design choices impact performance and simplicity.

Attendees will leave with:

- A clear understanding of how synchronous and asynchronous channels work in Rust

- Patterns for multi-producer, multi-consumer messaging- Insights into handling backpressure and errors safely

- Practical knowledge for building scalable, concurrent systems

- Confidence applying Rust channels in real-world cloud-native and async workloads

This talk provides a practical, approachable exploration of Rust channels, empowering developers to write safer and more efficient concurrent Rust programs.

more great talks

Might Be Interesting

Day 1
  —  
2:00 pm
arrow pointing right icon

Let's talk about Link-Time Optimization (LTO)

I contributed LTO-related changes to many open-source projects, and had a lot of interesting discussions with their maintainers about LTO. In this talk, I want to share with you my experience.

Day 2
  —  
12:25 pm
arrow pointing right icon

Clean Code for Good Science: Rust in Research and Health

This talk explores what it means to write scientific software that lives up to the standards we expect of science itself.

Day 2
  —  
4:15 pm
arrow pointing right icon

Beyond println!: Mastering Rust Debugging

This talk explains how Rust debugging actually works: how compiler-generated debuginfo (DWARF/PDB) maps binaries back to source, and how LLDB/GDB interpret that data in practice.

Day 1
  —  
3:10 pm
arrow pointing right icon

From Micrograd to coppergrad: Building Neural Networks and Backpropagation from Scratch in Rust

In this talk, we’ll re-create the core ideas of Karpathy’s micrograd, but entirely in Rust.

See All Events
Join us!

We're looking for amazing speakers.
CFP is open till 10.01.2023

Fill in Call for Papers
location icon

Location

Centrum Konferencyjne POLIN, Poland
stay in touch icon

Follow Us

Contact Us