Optimization

Why We Designed TigerBeetle's Docs from Scratch | TigerBeetle Blog

TigerBeetle rebuilt their documentation site from scratch, moving away from Docusaurus to achieve better performance, simplicity, and integration with their zero-dependency philosophy. The new implementation uses Zig and Pandoc, resulting in a 10x reduction in footprint while maintaining functionality and adding features like integrated search and offline capabilities.

Sublinear Time Algorithms

Sublinear time algorithms represent a paradigm shift in computational efficiency, allowing processing of extremely large datasets by reading only a fraction of the input. While exact deterministic sublinear algorithms exist for some problems, most solutions require randomization and approximation techniques, with applications spanning optimization, property testing, and distribution analysis.

0+0 > 0: C++ thread-local storage performance

An in-depth analysis of thread-local storage (TLS) performance in C++, examining how different implementations and contexts affect access speed. Core findings show that TLS access is fastest in executables without constructors, while shared libraries and constructors significantly degrade performance due to complex initialization and addressing mechanisms.

The Largest Sofa You Can Move Around a Corner | Quanta Magazine

A mathematician has proven that Gerver's sofa shape, with an area of approximately 2.2195, is the largest possible shape that can move around a 90-degree corner in a hallway, solving a 60-year-old mathematical problem without computer assistance. Jineon Baek's elegant proof introduces new mathematical techniques that could help solve other optimization problems.

Inigo Quilez :: computer graphics, mathematics, shaders, fractals, demoscene and more

A detailed explanation debunks the common misconception about GPU branching optimization, specifically addressing how ternary operations and if statements don't actually create conditional branches in modern GPUs. The article demonstrates through machine code examples that using step() and mix() as optimization alternatives actually leads to slower performance.