Skip to content
systemcoding.dev

Tag

c

362 posts

Flat illustration of network packets crossing between two hosts, with the C, Linux and Rust logos.
Networking

Write a Simple HTTP/1.1 Server in C

Build a small HTTP/1.1 server in C with POSIX sockets: parse the request line, send correct headers and Content-Length, and handle keep-alive and bad requests.

7 min read
Flat illustration of a terminal session, with the C, C++ and Linux logos.
Performance

Time Command-Line Programs With hyperfine

Benchmark any command with hyperfine 1.19: it runs warm-ups and many repetitions, reports mean, spread and range, and compares commands against each other.

7 min read
Flat illustration of guest machines running on a hypervisor over hardware, with the C, QEMU and RISC-V logos.
Virtualization

Write a CHIP-8 Emulator in C From Scratch

Build a complete CHIP-8 interpreter in C11: memory, registers, the font, all 35 opcodes, timers, a 64x32 display buffer and a text-mode renderer to test it.

10 min read