5min chapter

Changelog Master Feed cover image

Go + Wasm (Go Time #275)

Changelog Master Feed

CHAPTER

The Slowness of Memory Leaks in WebAssembly

WebAssembly at the moment doesn't have a garbage collector as far as I know, although there's like a proposal that they're working on to sort of like standardize how a garbage collector should work. So in this case, like the garbage collector was actually implemented by the assembly script, like compiler. And essentially like their implementation turned out to be the majority of the slowness once we had like trimmed away like everything else we could do. We were also measuring, you know, like P50 execution time compared to P99 execution time, we were seeing like huge discrepancies there,. which turned out to being like a garbage collection issue or basically like anytime the garbage collector decided to interrupt 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