Skip to content
systemcoding.dev
Topic

Systems Programming

Processes, threads, files, memory mapping, signals, IPC and sockets through POSIX and Win32: the core every other kind of system is built on.

Flat illustration of two options weighed side by side, with the C, GNU and Rust logos.
Systems Programming

Stack vs Heap Memory in C Explained

See where C variables live: the stack for locals that vanish on return, the heap for data you free yourself. Learn the limits, costs and bugs of each.

6 min read
Flat illustration of user space above the system call boundary, the kernel and the hardware, with the C, FreeBSD and Rust logos.
Systems Programming

Create Processes with CreateProcess

Start a program from C with CreateProcessW, quote the command line correctly, redirect its output to a file, wait with a timeout and avoid handle leaks.

9 min read

Get new posts by email

We send one email when a new post is published. No spam.

Unsubscribe in one click. No spam, ever.