Skip to content
systemcoding.dev

Tag

beginner

445 posts

Flat illustration of a hex dump with one byte highlighted, with the C, Python and Rust logos.
Fundamentals

Binary Numbers Explained for Programmers

Learn how binary numbers work: place values, counting, converting and why every integer in a program is a pattern of bits, with C code that prints them.

6 min read
Flat illustration of parallel threads meeting at a mutex, with the C, C++ and Erlang logos.
Concurrency

Protect Shared Data with pthread_mutex_lock

Guard a shared linked-list stack in C with pthread_mutex_lock and pthread_mutex_unlock on glibc 2.41, check return codes, and avoid leaks from missed unlocks.

7 min read