Software Unscripted cover image

Defunctionalization in a Functional Language with Ayaz Hafiz

Software Unscripted

00:00

The Benefits of Guaranteed Defunctionalization in LVM

Most languages would do this as a function pointer. It's actually storing instead of storing like it's one of these X different alternatives. LVM has to be more conservative and say, I don't know, somebody could have mutated that memory. So in the case of this defunctionalization where we compile your function call to a switch statement that then dispatches, we have the CPU branch protector in play. If the branch is from as well, you know, it will just the right branch and now we move on.

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