Skip to content
systemcoding.dev

Tag

beginner

445 posts

Flat illustration of a magnifier over lines of a log, with the Rust, C and C++ logos.
Debugging

Trace Shared Library Calls With ltrace

Use ltrace 0.7.3 on Linux to print the shared library calls a program makes, such as malloc and strcpy, with arguments and return values, and filter with -e.

6 min read
Flat illustration of two options weighed side by side, with the C, GNU and C++ logos.
Performance

Memory Latency vs Memory Bandwidth Explained

Latency is the wait for one memory access and bandwidth is bytes moved per second. See how they differ, how Little's law links them and which limits your loop.

6 min read
Flat illustration of a single-board computer with its SoC, memory, header and ports, with the Linux, NXP and Debian logos.
Embedded Linux

Why the sysfs GPIO Interface Is Deprecated

The /sys/class/gpio interface is deprecated in Linux 6.12 because of unstable numbering, leaked pins, races and missing features. Here is what replaced it.

6 min read