The Compiler Explorer Story | Matt Godbolt

  Рет қаралды 2,777

Microarch Club

Microarch Club

Күн бұрын

Matt Godbolt recounts the origin story of Compiler Explorer, which started as a tmux session with an editor in one pane and running the compiler in a loop in the other. Compiler Explorer has grown into a publicly available site, serving over 3 million compilations per week.
Clip is from Episode 5 of the Microarch Club Podcast: microarch.club...
Microarch Club: microarch.club/
X / Twitter: / microarchclub

Пікірлер: 9
@haiphamle3582
@haiphamle3582 5 ай бұрын
What an inspiring story! Godbolt does not become a verb for no reason. It helps people have a deeper look into what happening under the hood.
@axelBr1
@axelBr1 28 күн бұрын
Compiler Explorer is amazing. One of the design choices in C++ (and possibly other languages, (Java, Javascript? a long time since I used them)) is where to create your instances. A best practice is where they are used, but what happens if that is in a loop? I always thought that for performance reasons that it would be better to create the instances required in the loop, before entering the loop. Then one day it dawned on me that compilers are pretty smart and I can create the instance within the loop and the compiler will move the creation of the instance to before the loop. Using Compiler Explorer I was surprised the find that the compiler is even smarter than that, as because it knows the instance isn't used outside of the loop, it doesn't need to create the instance at all.
@jamesphilemon8010
@jamesphilemon8010 5 ай бұрын
It's so good to hear Australian and English technogists telling their stories in entertaining ways as only they can.
@insu_na
@insu_na 5 ай бұрын
I bet he must hate `consteval`, people not just compiling their code on his AWS instances but also letting it compute stuff 😂
@smoothemoveexlax
@smoothemoveexlax 5 ай бұрын
Can we get support for other CPU platforms including ARM and RISC-V targets? That would be super useful.
@Evan490BC
@Evan490BC 4 ай бұрын
There is support for both ARM and RISC-V, as far as I know.
@AnnatarTheMaia
@AnnatarTheMaia 5 ай бұрын
WIll you add Sun Studio compilers too? (If it must be, there are Sun Studio compilers for GNU / Linux).
@MattGodbolt
@MattGodbolt 5 ай бұрын
We'll add pretty much anything that installs easily and folks submit a PR for. There's two PRs usually required; one to add the installation to our infra repo and then another to configure it (if it's simple and looks like clang/gcc). If it requires more work there are per compiler customisation points. Google for "how to add a compiler to compiler explorer" if you're interested 🎉
MOS 6502 vs. Zilog Z80 | Matt Godbolt
13:03
Microarch Club
Рет қаралды 11 М.
The Hardware That Powers Financial Trading | Matt Godbolt
16:31
Microarch Club
Рет қаралды 1,4 М.
Which One Is The Best - From Small To Giant #katebrush #shorts
00:17
So Cute 🥰
00:17
dednahype
Рет қаралды 66 МЛН
Cute
00:16
Oyuncak Avı
Рет қаралды 12 МЛН
From Small To Giant Pop Corn #katebrush #funny #shorts
00:17
Kate Brush
Рет қаралды 67 МЛН
Linus On LLMs For Coding
17:06
ThePrimeTime
Рет қаралды 269 М.
John Mearsheimer and Jeffrey Sachs | All-In Summit 2024
54:05
All-In Podcast
Рет қаралды 1,2 МЛН
AI can't cross this line and we don't know why.
24:07
Welch Labs
Рет қаралды 779 М.
The Impact of Micro-Optimizations at Google Scale | Rick Altherr
8:26
The Rise of Unix. The Seeds of its Fall.
16:51
Asianometry
Рет қаралды 491 М.
Making Sense of x86 Microarchitecture | Matt Godbolt
9:25
Microarch Club
Рет қаралды 2,6 М.
How to Trust Your Hardware | Rick Altherr
7:16
Microarch Club
Рет қаралды 2,7 М.
Which One Is The Best - From Small To Giant #katebrush #shorts
00:17