JavaScript Jabber cover image

Bun.js with Jarred Sumner - JSJ 584

JavaScript Jabber

CHAPTER

How to Use Zig to Speed Up Streaming

A lot of it is just spending a lot of time profiling and being really careful about, uh, look, memory allocations. We use a bunch of different strategies for how do we make it so that way we control exactly when we free the memory. Most basically all of these optimizations need always have like a fallback path where it's like, okay, this is the fast path. And then if that doesn't work, we have to have a fallback.

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