Node.js
Node.js Streams: The Complete Guide
Streams are the reason Node.js can handle giant files without running out of memory. Most tutorials explain the theory and skip the parts that actually trip you up. This one doesn't.
2 articles found
Streams are the reason Node.js can handle giant files without running out of memory. Most tutorials explain the theory and skip the parts that actually trip you up. This one doesn't.
Buffers tripped me up for a while. They're how Node handles raw binary data outside the V8 heap, and once you actually understand what's happening with Buffer.from() and friends, a lot of Node's I/O behavior starts to make sense. Here's what I wish someone had told me earlier.