Make your programs run faster by better using the data cache (2020)
We investigate how the data cache influences the performance of your program, talk about ways for you to write faster programs by better leveraging the data cache.
Welcome to Johnny’s Software Lab, a blog for all interested in fast software written in C and C++. Your program doesn’t run fast enough? You need someone to talk to about your software’s performance? You or your team want to learn to write faster software? Whatever it is, we can help you. Check out the… Read
Visit johnnysswlab.com → RSS feedOn Hacker News Apr 2023 – Jul 2025
We investigate how the data cache influences the performance of your program, talk about ways for you to write faster programs by better leveraging the data cache.
A short tale of how horrible code yields clean performance.
We’ve discussed SIMD and vectorization extensively on this blog, and it was only a matter of time before SIMD (or vector) functions came up. In this post, we explore what SIMD functions are, when they are useful, and how to declare and use them effectively. A SIMD function is a function that processes more than… Read