Daily Shaarli

All links of one day in a single page.

May 11, 2021

The price of dynamic memory: Allocation - Johny's Software Lab
thumbnail

Interesting piece covering: how a memory allocator works, why it can be slow, how to use it the best way possible and how to pick an allocator for your project.

Branch predictor: How many "if"s are too many? Including x86 and M1 benchmarks!
thumbnail

This is a very interesting deep dive in how branch predictors work. Also comparing timing profiles between different families of CPUs.