Skip to content

Latest commit

 

History

History

04-missing-mallocs

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Missing mallocs

You are probably saying to yourself "Bury the lead much?" Heh. The thing is, it is really crucial to understand how storing values in an interface and escape analysis works in order to make sense of why sometimes it is possible to store a value in an interface that escapes to the heap...and does not need any new memory to do so.

Say what!?

Yep, you heard me...magic. Okay, not really, but it is due to something about which I certainly had no clue until diving down this rabbit hole. This section reviews:


Next: Shut up and prove it