Rustacean Station  cover image

RustFest Interviews Triple Feature: Rust for AAA Game Development; Async Foundations with `async-std`; and Powerful Concurrency Primitives with `crossbeam`

Rustacean Station

00:00

How to Use Crossbeam to Build Your Own Channels

There used to be a macro in the standard library. But it had its own quirks. There was also select struct for dynamic selections, which means you don't have to statically decide which channels operations you are selecting over. You can dynamically add runtime, add those cases to a select. So very cool. What other parts of crossbeam are there besides the channels? The scope threads, for example. Those decks are very useful for building your own schedulers and things like that. They said decks? Deck yes, like double ended queue. Oh, okay.

Transcript
Play full episode

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app