Skip to content
systemcoding.dev

Tag

intermediate

255 posts

Flat illustration of two options weighed side by side, with the C, Linux and GNU logos.
Networking

Level-Triggered vs Edge-Triggered epoll

Compare epoll level-triggered and edge-triggered modes with EPOLLET, see exactly when each reports readiness, and pick the right one for your server.

6 min read
Flat illustration of a test report with one failing test, with the C, GitHub Actions and GitLab logos.
Debugging

Run Valgrind Memcheck in CI as a Merge Gate

Run Valgrind Memcheck on your unit tests in CI with exit codes, suppressions and XML output so a new leak or invalid access fails the build before it merges.

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

Paravirtualization vs Full Virtualization

Full virtualization runs an unmodified guest, while paravirtualization gives the guest drivers that call the hypervisor. See where virtio and kvmclock fit.

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

Build an epoll Event Loop in C Step by Step

Write a single-threaded TCP echo server on Linux with epoll_create1, epoll_ctl and epoll_wait, using non-blocking sockets and a clean accept and read loop.

8 min read