Rust concurrency patterns: No context, no cancel, no leaks

On the simplicity of Rust

Telling a producer to “just drop it”.

A bonus: Type your messages with Enums.

--

--

--

Software engineer living in Shanghai. I write in Javascript, Python, Rust, and English. Always for people to read. https://github.com/gterzian

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

The Bancorian | A Weekly Summary-November 21st, 2021

Passing the OSCP while working full time.

CS373 Blogs: Final Entry

REST API Best Practices — Volume 1

How can qmsWrapper get you through covid-19 painlessly?

Two Reasons Programming is Hard

10 takeaways from AWS re:Invent 2019

Building a serverless IoT backend integration

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Greg Terzian

Greg Terzian

Software engineer living in Shanghai. I write in Javascript, Python, Rust, and English. Always for people to read. https://github.com/gterzian

More from Medium

Golang Generics Implementation Details

Go’s Missing Functional Suspects

An Introduction To Rust Ownership For Go Developers — Moves (Part 1)

Go-tcha: When assigning via pointer changes your type