3min chapter

Oxide and Friends cover image

Threads, async/await, Promises, Futures

Oxide and Friends

CHAPTER

The Distinguishment Between Async and Threadmod

Multi-level threading is a historical accident, first and foremost. I think that a lot of that actually comes from people having operating systems in which multiple threads are not supported. And if you have an operating system that only supports a single thread of control, you can implement what threads on top of that single kernel-level entity. It's hard to unpack the arguments for having these different levels of control. You're going to reserve these for your relatively longer operations. How do you kind of keep track of the state that you've got while you're waiting for this thing?

00:00

Get the Snipd
podcast app

Unlock the knowledge in podcasts with the podcast player of the future.
App store bannerPlay store banner

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode

Save any
moment

Hear something you like? Tap your headphones to save it with AI-generated key takeaways

Share
& Export

Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode