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
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