Get the latest tech news
Common misconceptions about compilers
A curated list of misconceptions about mainstream compilers.
Mike Acton has gathered himself some 690 thousand views in his CppCon talk Data-Oriented Design and C++ in no small part because he drove the point home that a C++ compiler won't optimize cache locality for you. This talk basically started the movement of data-oriented design, whose main goal is to write code that makes good use of the cache. LLVM is used from embedded systems to Google's data centers, from JIT compilers to aggressive high-performance scenarios, and from Zig to Rust to <name the next new language>.
Or read this on Hacker News