Get the latest tech news
Less Slow C++
Learning how to write "Less Slow" code in C++ 20, C 99, CUDA, PTX, & Assembly, from numerics & SIMD to coroutines, ranges, exception handling, networking and user-space IO - ashva...
The benchmarks in this repository don't aim to cover every topic entirely, but they help form a mindset and intuition for performance-oriented software design. The topics range from basic micro-kernels executing in a few nanoseconds to more complex constructs involving parallel algorithms, coroutines, and polymorphism. To enhance stability and reproducibility, disable Simultaneous Multi-Threading(SMT) on your CPU and use the--benchmark_enable_random_interleaving=true flag, which shuffles and interleaves benchmarks as described here.
Or read this on Hacker News