2min chapter

Signals and Threads cover image

Memory Management with Stephen Dolan

Signals and Threads

CHAPTER

Unboxed Types - How Do You Get Better Heap Representation?

Unboxed types are structures that do not have a representation on the heap. They can be passed around or used as function parimeters by other functions. The garbage collector does not know how to deal with an unbox tupl because it doesn't contain any pointers at all. This is one way of getting rid of this problem, but there are still some restrictions in terms of what you can and cannot put into them.

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