Skip to content
systemcoding.dev

Library

Everything you need to level up your coding skills.

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
Flat illustration of video frames passing through a codec, with the FFmpeg, macOS and Apple logos.
Media

Encode With VideoToolbox in FFmpeg on macOS

Use FFmpeg 7.1 with h264_videotoolbox and hevc_videotoolbox on Apple silicon: quality and bitrate options, the hvc1 tag for QuickTime, and hardware decoding.

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

Parse Ethernet, IP and TCP Headers in C

Read raw frames with an AF_PACKET socket and parse Ethernet, IPv4 and TCP headers in C using the Linux header structs, with length checks at every layer.

8 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.