Skip to content
systemcoding.dev

Tag

beginner

445 posts

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
Flat illustration of parallel threads meeting at a mutex, with the C, Go and Rust logos.
Concurrency

Parallelize a Loop with

Turn a serial C loop into a multithreaded one with one OpenMP pragma, then learn which loops are safe to split and which ones silently give wrong answers.

7 min read