systems programming

All articles tagged with "systems programming"

5 Articles

Cloud & DevOps

eBPF Spinlocks and the Art of Kernel Debugging

A spinlock bug in eBPF doesn't announce itself with a stack trace or an error message. It announces itself with a machine that stops responding. No logs, no...

Priya SharmaPriya Sharma9 min read
Programming Languages

CPU Branch Prediction: Your Code's Hidden Bottleneck

There's a famous Stack Overflow answer that's been viewed over 3 million times. The question: why is processing a sorted array faster than processing an...

James WhitfieldJames Whitfield10 min read
Programming Languages

What Building a Shell Teaches You About Unix

Every developer uses a shell daily. Few understand what it actually does. The shell looks like an application — you type commands, it runs them — but it's...

James WhitfieldJames Whitfield9 min read
Programming Languages

Why jemalloc Matters: Memory Allocation at Scale

Every time your program calls malloc(), something has to decide which chunk of virtual memory to hand back. This decision — trivial for a small program —...

James WhitfieldJames Whitfield9 min read
Cloud & DevOps

Sub-Millisecond VM Sandboxes via Copy-on-Write

Starting a Docker container takes about 500 milliseconds. A Firecracker microVM takes about 125 milliseconds. A V8 isolate takes about 5 milliseconds. But a...

Priya SharmaPriya Sharma9 min read