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>.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of compilers

compilers

Related news:

News photo

21 Algol 60 Compilers in 1962

News photo

Why Are ML Compilers So Hard? « Pete Warden's Blog (2021)

News photo

Breaking Bad: How Compilers Break Constant-Time~Implementations