Skip to content
0:00 / 0:00

#compilerexplorer#godbolt#assembly

CppCon 2019: Matt Godbolt “Compiler Explorer: Behind The Scenes”

CppCon

189K subscribers • 103 videos on Hallway • Conference channel

YouTube
  • Recommended by 2 people: 2 on Hacker News.
  • Presented by Matt Godbolt, creator of Compiler Explorer
  • Linked in the descriptionCppCon/CppCon2019

Intermediate. Assumes working knowledge.

28K views7 years ago2 recommendations

Systems programmingTools and practiceCompilers and interpretersPerformance and optimization

Matt Godbolt shares the history, architecture, and scaling of Compiler Explorer, along with some of his favorite compiler optimizations.

CppCon.org — Discussion & Comments: reddit.com/r/cpp/ — Presentation Slides, PDFs, Source Code and other presenter materials are available at: github.com/CppCon/CppCon2019 — In the six years that Compiler Explorer has been running it has gone from a hacky bunch of shell and Javascript code running on a basement server, serving tens of requests a week to a slightly less hacky bunch of shell and Javascript code scaling out to many computers in the cloud handling tens of thousands of requests a day. In this talk, Matt will explain the journey Compiler Explorer has been on, how it has changed over the years, and how it works now. Along the way Matt will show some of his favourite compiler optimisations discovered while using the site, some little-known Compiler Explorer features, and the future direction of the site. Attendees should be aware there's not very much C++ content in this talk: it's mostly DevOps and blood, sweat and tears of a low-level C++ programmer trying to hack together a website, and discovering an amazing community along the way. — Matt Godbolt Aquatic Capital Management, LLC Development Engineer Greater Chicago Area Matt Godbolt is the creator of the Compiler Explorer website. He is passionate about writing efficient code. He has previously worked at a trading firm, on mobile apps at Google, run his own C++ tools company and spent more than a decade making console games. When he's not hacking on Compiler Explorer, Matt enjoys writing emulators for old 8-bit computer hardware. — Videos Filmed & Edited by Bash Films: BashFilms.com Work at Hudson River Trading (HRT): tinyurl.com/safxfctf

Why it's here

2 people recommend this

What people say. Recommended for learning about Compiler Explorer's history, architecture, and hidden features like LLVM Machine Code Analyzer.

flohofwoeon Hacker News • Recommends

On “How to Read Assembly Language”

There's a few nice hidden features presented in Matt Godbolt's talk here: link to this video As for LLVM IR output, just use the right clang command line options: link Likewise for WASM: link

jiggawattson Hacker News • Recommends

On “Apple and Intel first to use TSMC 3nm”

I recently watched the CppCon 2019 talk by Matt Godbolt "Compiler Explorer: Behind The Scenes"1, and a cool feature he presented is the integrated LLVM Machine Code Analyser tool. If you look at the "timeline" and "resource" views of how a Zen 3 executes a typical assembly snippet, it is absolutely mind blowing. That beast of a CPU has so many resources it's just crazy. 1 link to this video

pjmlpon Hacker News • Mentions

On “Strict memcpy() bounds checking for the Linux kernel”

Indeed, for Matt Godbolt, and the whole community that has added the remaining AOT languages, .NET is one of the few missing from Compiler Explorer, but it has a similar one at link and there is one at link for GPGPU shaders. Here is one talk from Matt Godbolt about how Compiler Explorer was born, CppCon 2019: Matt Godbolt “Compiler Explorer: Behind The Scenes” link to this video

turtledragonflyon Hacker News • Mentions

On “Dirty tricks 6502 programmers use (2019)”

> But I wonder how common the knowledge is these days ... In one sense, it is less common, as you imply (though perhaps it's more that the number of high-level programmers have ballooned, rather than that the low-level ones have shrunk). In another sense, it's more accessible than ever, with tools like godbolt12, VMs, cool profilers that show you a heatmap overlaid on assembly instructions, etc. And embedded development, where those details matter more, is still going strong, with IoT devices and so forth. 1 part of a presentation on it, if you're not already familiar: link to this video 2 the site itself: link