5min chapter

Go Time: Golang, Software Engineering cover image

Don't forget about memory management

Go Time: Golang, Software Engineering

CHAPTER

Leaks and Leaking

Go has a memory profiler, and you can ring it up in your web roser. But what the profiler will tell you is where the memory was allocated. What you really need to know is, where's this pointer that's keeping it alive? And er, i know jordan's been doing some work on tooling, try and figure that out. A programm called view corps lives inside of a kind of x d bug package or something like that in the go library world,. maintained by somebody at google. It's kind of rotted several times because it's got a precisely mimic all the internal structures the go garbage collector. If it gets anything even subtly wrong, it

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