How to Use PGO and LTO With Meson and Clang
A tested walkthrough for enabling Profile Guided Optimization and Link Time Optimization in a Meson project built with Clang, including the llvm-profdata merge step most guides forget.
Notes from working close to the hardware — C, kernels, schedulers, and the things that only break on the third hour of a soak test.
A tested walkthrough for enabling Profile Guided Optimization and Link Time Optimization in a Meson project built with Clang, including the llvm-profdata merge step most guides forget.
Measuring PGO and LTO on a C++ SPH simulation with perf and flamegraphs, and why they barely helped.
Before touching a single line of my fluid simulation, I let the compiler do the work. Just changing flags got me from 1x to roughly 40x.
Multiboot2 drops you in 32-bit protected mode; Limine hands you a 64-bit environment. A single entry trampoline that handles both without forking the kernel.
A dive into FreeBSD's UID/GID/SVUID behaviour
I’m lazy. Not lazy enough to not exercise, but lazy enough to want my gym programs to make themselves. Coincidentally, I’ve started reading “Linear Algebra and its applications”, and one section caught my attention: How to apply linear algebra to real world problems. As it turns out, there are lots of ways to optimize processes around you if you know how to convert your real-life problem, into a mathematical model.