
Measure Memory Bandwidth With the STREAM Benchmark
Build and run the STREAM benchmark with gcc and OpenMP to measure sustainable memory bandwidth, size the arrays so they miss cache, and read the four kernels.
Everything you need to level up your coding skills.

Build and run the STREAM benchmark with gcc and OpenMP to measure sustainable memory bandwidth, size the arrays so they miss cache, and read the four kernels.

Drive an LED and read a button from the shell with gpioset and gpioget from libgpiod 2.1 on Linux 6.12, including toggling, timed pulses and bias.

Write a Thumb-2 function in a .S file, declare it in C, build with arm-none-eabi-gcc 14 and see exactly how arguments and the result travel in registers.

Keep a Zephyr application in its own folder by setting ZEPHYR_BASE and finding Zephyr from CMake. Includes the layout, the build commands and the limits.

Build a real Unix command-line tool in C from argument parsing to exit codes, pipelines, locale, tests and a man page, with every step explained.

Build nRF52 and nRF53 firmware from first LED to BLE, power, DFU and the dual-core nRF5340 with the nRF Connect SDK, Zephyr and tested register-level code.

Write a Linux filesystem as a loadable module: file_system_type, the mount API, superblock, inodes, directories, page-cache I/O and a mount option, tested.

Label phases of a CUDA program with NVTX push and pop ranges, the C++ scoped_range helper and domains, so Nsight Systems shows your names beside the kernels.

Learn when to use = and <= in Verilog, how the simulator schedules each, and what goes wrong when you mix them in clocked or combinational blocks.

Create a cgroup v2 directory, write memory.max and cpu.max, move a shell into it and watch the kernel cap memory and CPU time. Commands and output included.

Learn real, effective and saved user IDs, what setuid does at execve, and the correct order to drop privileges in C with setgroups, setgid and setuid.

A cheat sheet of 15 kinds of undefined behavior in C, each with an example, the sanitizer message, the safe fix and when it is not a problem.
We send one email when a new post is published. No spam.