2min chapter

Signals and Threads cover image

Language design with Leo White

Signals and Threads

CHAPTER

The Optimization of Programming Languages

The library would then it would read that description and at compile time, it would produce code that was just always a single while loop operating on the list. The very specific thing is a nonsense program, but what you're describing is a very real way of constructing programs. And I think this highlights a thing that comes up in a lot of the different design work you've been involved with - there are two ways of thinking about optimization. You can either take performance behavior as a first class part of the semantics that you're presenting to the programmer or you can give them control over how they write their programs.

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