Matrix Multiplication Deep Dive || Cache Blocking, SIMD & Parallelization - Aliaksei Sala - CppCon @CppCon
Matrix Multiplication Deep Dive || Cache Blocking, SIMD & Parallelization - Aliaksei Sala - CppCon  @CppCon
Uploaded February 2026 | Updated November 2026, 17 hours ago
cppcon.org
---

Matrix Multiplication Deep Dive || Cache Blocking, SIMD & Parallelization - Aliaksei Sala - CppCon 2025
---

Matrix multiplication is a fundamental operation in scientific computing, game development, AI, and numerous high-performance applications. While its mathematical definition is simple, achieving optimal performance in C++ is far from trivial.

In this talk, we will explore different optimization techniques for matrix multiplication, from naive implementations to highly tuned versions leveraging modern hardware features. We will cover key performance-enhancing strategies such as loop unrolling, cache blocking, SIMD vectorization, parallelization using threads and more. Through benchmarking and profiling, we will measure the real impact of these optimizations.

By the end of this session, attendees will gain insights into two critical questions:

How hard is it to implement an optimized matrix multiplication in C++? How effective is C++ for achieving peak performance in this task?

This talk is suitable for developers interested in performance optimization, computational efficiency, and modern C++ techniques for numerical computing.

---

Slides: github.com/CppCon/CppCon2025/blob/main/Presentations/Achieving_Peak_Performance_for_Matrix_Multiplication.key

Work at Hudson River Trading (HRT): tinyurl.com/safxfctf
---

Aliaksei Sala

I’m a Lead Software Engineer at EPAM Systems with over 10 years of experience in C++ and high-performance computing. My background spans embedded systems, Linux, and AI acceleration, and I’m currently working with Tenstorrent’s RISC-V–based compute platform. I enjoy digging into performance-critical code, from optimizing matrix multiplication to exploring modern C++ techniques that push hardware efficiency. I’m also active in the C++ community and excited to share my work on performance engineering at CppCon.
---


CppCon is the annual, week-long face-to-face gathering for the entire C++ community. The conference is organized by the C++ community for the community. You will enjoy inspirational talks and a friendly atmosphere designed to help attendees learn from each other, meet interesting people, and generally have a stimulating experience. Taking place this year in Aurora, Colorado, near the Denver airport, and including multiple diverse tracks, the conference will appeal to anyone from C++ novices to experts.
Annual CppCon Conference - cppcon.org
linkedin.com/company/cppcon
https://x.com/cppcon
facebook.com/CppConference
reddit.com/r/cppcon
https://mastodon.social/@CppCon
---

Videos Filmed & Edited by Bash Films: BashFilms.com
YouTube Channel Managed by Digital Medium Ltd: events.digital-medium.co.uk
---

#cpp #cplusplus #cppcon #cppprogramming #cplusplusprogramming #softwaredevelopment #softwareengineering #coding #code #computerscience #technology #technews #programming #programmer
Matrix Multiplication Deep Dive || Cache Blocking, SIMD & Parallelization - Aliaksei Sala - CppConBuilding Secure C++ Applications: A Practical End-to-End Approach - CppCon 2025An Introduction to the new C++ 26 Reflection Feature - Inbal Levi - CppCon 2025Lightning Talk: We Are Family - Jody Hagins - CppCon 2025When Your Code Fails at Scale #cpp #debugging #softwaredevelopmentDuck Typing, the C++ Way: How Type Erasure Bends the Rules - Sarthak Sehgal - CppCon 2025Persistence Squared: Persisting Persistent Data Structures - Juan Pedro Bolivar Puente - CppCon 2025Can C++ Data Oriented Design Be ONE MILLION Times Faster? - Andrew DrakefordLearn Why Experts Are Excited About C++ Reflection At Barry Revzins CppCon 2025 Talk!LLMs in the Trenches: Boosting C++ System Programming with AI - Ion Todirel - CppCon 2025Lightning Talk: Improving an HTML Parser with Swift 6 Pattern Matching  - Andrew KasterLightning Talk: Only Forward: Why Concurrency Works in C++ - Thomas Cassell - CppCon 2025
CppCon |

Matrix Multiplication Deep Dive || Cache Blocking, SIMD & Parallelization - Aliaksei Sala - CppCon

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER