2025 AsiaLLVM - Breaking std::vectors ABI for performance gains: A Horror Story @LLVMPROJ
2025 AsiaLLVM - Breaking std::vectors ABI for performance gains: A Horror Story  @LLVMPROJ
Uploaded July 2025 | Updated November 2026, 17 hours ago
2025 AsiaLLVM Developers' Meeting

llvm.org/devmtg/2025-06

------

Title: Breaking std::vector's ABI for performance gains: A Horror Story

Speakers: Christopher Di Bella

------

Slides: llvm.org/devmtg/2025-06/slides/technical-talk/di-bella-vector.pdf

-----

This talk chronicles the story of modifying std::vector to directly track its size instead of its allocated buffer, and the associated performance improvements we gained as a result. We’ll also tell the story of applying these changes to libc++ so that it can be upstreamed, and the far more terrifying story of addressing any and all downstream reliance on the previous implementation quirks of vector to see this optimisation deployed internally.

-----

Videos Edited by Bash Films: BashFilms.com
2025 AsiaLLVM - Breaking std::vectors ABI for performance gains: A Horror Story2025 US LLVM Developers Meeting: Area Team Updates2025 EuroLLVM - Dialects as a Dialect: Bringing native C++ registration to IRDL2025 US LLVM Developers Meeting: Lightweight Fault Isolation: LLVM Support for Efficient Sandboxing2025 EuroLLVM - Accidentally quadratic in compiler-rt/asan2025 US LLVM Developers Meeting: Continuous Integration System for Global ISel2026 EuroLLVM - The LLVM Release Process, a status update2026 EuroLLVM - Reproducible Large-Workload Recipes for BOLT with Nixpkgs2025 AsiaLLVM - LLVM vs. GCC on RISC-V Using SPEC CPU Benchmarks: Methods, Gaps, and Optimizations2025 EuroLLVM - TK Wave: Symbolic Python/MLIR DSL and Compiler for High Performance Machine Learning2026 EuroLLVM - Improving DemandedBits Analysis for Shift Operations in LLVM2025 US LLVM Developers Meeting: Building a Compiler Toolchain for Distributed Quantum Computing
LLVM |

2025 AsiaLLVM - Breaking std::vector's ABI for performance gains: A Horror Story

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER