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
Transcript
Play full episode

Remember Everything You Learn from Podcasts

Save insights instantly, chat with episodes, and build lasting knowledge - all powered by AI.
App store bannerPlay store banner