Code Snippets
Node.js
Server-side JavaScript, and the streaming that stops it eating memory when the file is bigger than the machine.
Everything in Node.js

09/02/2026
Reading a huge file line by line in Node, without loading it
readFileSync on a 2GB log is how a Node process dies. Streaming it line by line uses a constant few kilobytes instead, and is barely more code.