4 ms·
Ask HN: Best low-level optimization tutorials?
I had found a resource around 4 or so months ago either on here or reddit that was amazing. It took some matrix problem, solved it naively, and then applied different optimizations such as branchless coding, simd, openmp, compiler optimizations, etc. It showed the cumulative effect of each optimization, and I though it was amazing. Unfortunately, I lost the link to this website and cannot find it despite hours of Googling and searching on HN and Reddit directly.
Wondering if anybody here knows resources that were useful for similar or different topics, or might be able to provide a link to what I lost.
- arxanas 5y agoI found this post to be very high quality: https://news.ycombinator.com/item?id=26710763 https://news.ycombinator.com/item?id=26710763
- V__ 5y agoMaybe this? https://old.reddit.com/r/programming/comments/57gcjr/matrix_multiplication_a_case_study_of/ https://old.reddit.com/r/programming/comments/57gcjr/matrix_... https://attractivechaos.wordpress.com/2016/08/28/optimizing-matrix-multiplication/ https://attractivechaos.wordpress.com/2016/08/28/optimizing-...
- jstx1 5y agoMIT OCW has Performance Engineering of Software Systems which focuses on this.
- shoo 5y agoAgner Fog's optimisation guides: https://www.agner.org/optimize/ https://www.agner.org/optimize/ Fabian Giesen's blog has some good stuff. here's a 16 part blog series from 2013 taking apart and reworking an intel software occlusion culling demo: https://fgiesen.wordpress.com/2013/02/17/optimizing-sw-occlusion-culling-index/ https://fgiesen.wordpress.com/2013/02/17/optimizing-sw-occlu...