The Compiler Explorer Story | Matt Godbolt

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

Microarch Club

Microarch Club

Күн бұрын

Пікірлер: 9
@haiphamle3582
@haiphamle3582 8 ай бұрын
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 4 ай бұрын
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 8 ай бұрын
It's so good to hear Australian and English technogists telling their stories in entertaining ways as only they can.
@insu_na
@insu_na 8 ай бұрын
I bet he must hate `consteval`, people not just compiling their code on his AWS instances but also letting it compute stuff 😂
@smoothemoveexlax
@smoothemoveexlax 8 ай бұрын
Can we get support for other CPU platforms including ARM and RISC-V targets? That would be super useful.
@Evan490BC
@Evan490BC 8 ай бұрын
There is support for both ARM and RISC-V, as far as I know.
@AnnatarTheMaia
@AnnatarTheMaia 8 ай бұрын
WIll you add Sun Studio compilers too? (If it must be, there are Sun Studio compilers for GNU / Linux).
@MattGodbolt
@MattGodbolt 8 ай бұрын
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
Рет қаралды 12 М.
The Hardware That Powers Financial Trading | Matt Godbolt
16:31
Microarch Club
Рет қаралды 1,5 М.
黑天使只对C罗有感觉#short #angel #clown
00:39
Super Beauty team
Рет қаралды 36 МЛН
Правильный подход к детям
00:18
Beatrise
Рет қаралды 11 МЛН
He wrote this out BY HAND? // Code Review
24:01
The Cherno
Рет қаралды 234 М.
Compiler Explorer (part 1 of 2)
11:59
Matt Godbolt
Рет қаралды 26 М.
The Impact of Micro-Optimizations at Google Scale | Rick Altherr
8:26
Dear Game Developers, Stop Messing This Up!
22:19
Jonas Tyroller
Рет қаралды 781 М.
2 Years Of Learning C | Prime Reacts
22:24
ThePrimeTime
Рет қаралды 326 М.
Making Sense of x86 Microarchitecture | Matt Godbolt
9:25
Microarch Club
Рет қаралды 2,6 М.
The Rise of Unix. The Seeds of its Fall.
16:51
Asianometry
Рет қаралды 517 М.
go is great i hate it
14:44
SST
Рет қаралды 28 М.
How to Trust Your Hardware | Rick Altherr
7:16
Microarch Club
Рет қаралды 2,8 М.
黑天使只对C罗有感觉#short #angel #clown
00:39
Super Beauty team
Рет қаралды 36 МЛН