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

Channel:CppCon · Length:1:00:21 · Published:2019-10-09 · Views:28887

Watch on YouTube

Summary

Matt Godbolt tells the story of Compiler Explorer, from a hacky basement server to a cloud-scaled service handling tens of thousands of daily requests. He also shows its features and how it is built.

Why HN recommends it

Recommended as the source on how Compiler Explorer began and for its lesser-known features like the machine code analyzer.

a cool feature he presented is the integrated LLVM Machine Code Analyser tool — HN, 2021

C, C++, Rust, Go & systems languages · Compilers, interpreters & program analysis · Cloud, DevOps & reliability

Subtitles (excerpt)

good morning everybody thank coming to my talk as I sort of put a massive disclaimer on the write-up for this there will not be very much C++ content in this talk so if you're if if you're after a ton of C++ and very important into features of C++ you've got time to leave and find another talk but this is mainly a talk about a Java JavaScript hobby project of mine went out of control so I'm gonna give a sort of overview of what this talk is going to be about the first part is a sort of introduction about some of the the history of compiler Explorer how it came about and where it is now and I'm going to take this opportunity here as well in front of you I have a captive audience to talk about some of the hot features hot features couldn't think of anything better some of the features that perhaps you don't know compiler Explorer has because oftentimes maybe a couple of times a month someone will email with a great suggestion for a feature in compiler Explorer I'm often able to reply with a link that says we already have that you just couldn't find it so our user experience design is lacking so hopefully if I show you where they are you can go out and show other people what these great features are and then I will actually

On Hacker News

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] [VIDEO] — jiggawatts, 2021-07
There's a few nice hidden features presented in Matt Godbolt's talk here: [VIDEO] As for LLVM IR output, just use the right clang command line options: [LINK] Likewise for WASM: [LINK] — flohofwoe, 2021-03
> 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 godbolt[1][2], VMs, cool profilers that show you a heatmap overlaid on assembly instructions, e… — turtledragonfly, 2025-04
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” [VIDEO] — pjmlp, 2021-07

Related videos