matt godbolt is mostly on bsky these days
@mattgodbolt
Followers
16K
Following
40K
Media
1K
Statuses
19K
Husband, father, coder, sometime verb, real person. Fond of old hardware. Co-host @twoscp. #BlackLivesMatter. @matt.godbolt.org on bsky He/him
Evanston, IL
Joined January 2009
Supporting @CompileExplore is easy! Some ways to help: * Report issues or submit PRS: https://t.co/2lEESupxG9 * GitHub Sponsor: https://t.co/UyIkqP64vt * Becoma a Patreon: https://t.co/PYPuzhpkMQ * Buy Cool Swag: https://t.co/oGJplFDEPs Thanks everyone!
3
4
35
Day 6 of Advent of Compiler Optimisations! Divide by 512—just a shift, right? But the compiler adds extra instructions. Why? A subtle difference between what you asked and what you meant! https://t.co/HMGZcHobXW
https://t.co/lCXOhYAlbi
#AoCO2025
1
7
56
Day 5 of Advent of Compiler Optimisations! x86 has LEA, but ARM has the barrel shifter—instructions can shift operands cheaply. The compiler uses this to multiply without multiplying! https://t.co/ajsfDk5k9E
https://t.co/1FIAhXF2Oy
#AoCO2025
0
10
84
Day 4 of Advent of Compiler Optimisations! Multiply by constants—which ones use actual multiply? The compiler has tricks to avoid it, then saves you from your own clever hacks. https://t.co/7AnyYnerRU
https://t.co/N6aeoMPaIB
#AoCO2025
0
13
83
Day 3 of Advent of Compiler Optimisations! A while loop, recursion, direct addition—all compile to one instruction. The compiler sees the pattern beneath the code. https://t.co/luClBW7dZt
https://t.co/D90XnAoHVO
#AoCO2025
0
14
118
Day 2: Adding two integers on x86? Not with `add`! The compiler uses a completely different instruction—one designed for memory addressing. Why? https://t.co/iXXyjWFLDF
https://t.co/4VCDMAdBzn
#AoCO2025
2
29
180
Ever wonder why compilers use `xor eax, eax` to zero registers? It's smaller AND faster—CPUs optimise it out entirely! Day 1 of Advent of Compiler Optimisations: https://t.co/VOo6hv2rEX Video: https://t.co/Kcqj07D5Ve
#AoCO2025
14
34
270
My Advent of Compiler Optimisation starts tomorrow! Subscribe so you don't miss one! (Blog has RSS, YouTube subscription works too, all YTs link to blog and video versa) Starts at 13:00 UTC if I wake up in time!
This December, I'll be posting a blog & video each day until Christmas in the Advent of Compiler Optimisations! #AoCO2025 Each day we'll explore a fun optimisation in C or C++; some low-level, x86 or ARM, some high-level. YT: https://t.co/cbSqouWa5p Blog:
5
40
293
I'm not good at this marketing lark, but as it's black friday and I'm inundated with other people's offers... You can get 10% off CE swag today with code BLACKFRIDAY :) https://t.co/nqqhSLGveb Makes a great present too!
shop.compiler-explorer.com
The official Compiler Explorer shop! Come show your support for CE and get cool gear!
4
9
81
“Assembly isn’t dead - just specialized.” @mattgodbolt and Dan Kusswurm explore modern x86 coding, when assembly is worth it, and how it can deliver up to 100x speedups for critical tasks. https://t.co/0pzGzHpI1A
1
23
105
This also is a fund raiser for @CompileExplore ! https://t.co/605L0LxyQf to get cool CE stuff!
shop.compiler-explorer.com
The official Compiler Explorer shop! Come show your support for CE and get cool gear!
0
0
5
Check out my intro (and laugh at my terrible editing) at https://t.co/tPj5C1sYXh and if you want to watch the series, subscribe! :)
1
1
12
This December, I'll be posting a blog & video each day until Christmas in the Advent of Compiler Optimisations! #AoCO2025 Each day we'll explore a fun optimisation in C or C++; some low-level, x86 or ARM, some high-level. YT: https://t.co/cbSqouWa5p Blog:
youtube.com
Matt is a programmer and occasional verb. He loves writing efficient code and sharing his passion about how computers work under the hood. A low-latency engineer in finance, he has previously worked...
3
48
307
I'll be chatting with @CompileExplore 's first ever sponsor, Solid Sands in around 30 minutes, about how we met, our backgrounds, and what we've been up to. Please drop in and say hi:
0
0
5
New Podcast Episode: @mattgodbolt is back after 5 years! And he's sharing stories about breaking through abstractions. Sometimes your “disk write” is a network hop in a trench coat, and your “fast path” hides a page fault. Godbolt's rule will help.
1
4
24
And for the final day of #Croctober, we’ve got some exciting news! 👀 The Game Boy Color version of Croc is now available to preorder for the Chromatic from ModRetro 🥳 https://t.co/HAQteXkfgj
@modretro #chromatic #retrogaming
14
38
240
Croc Lead Programmer Tony Lloyd reflects on the game and the incredible lengths the team went to bring it to life. 🐊 Want more behind-the-scenes stories? Explore the full set of developer interviews in the Crocipedia section of Croc Legend of the Gobbos.
5
20
130
Colleges do a terrible job of teaching C++. It’s not “C with Classes”. Injected into curriculums as a demonstration of early CS concepts, it leaves many with a sour taste. Students later immediately fall in love with the first language that *doesn’t* feel that way.
84
65
1K
Looking to connect with the Argonaut Games community? Join our official Discord to discuss our classic titles, share fan creations, and stay updated on what’s next! Join the Discord here: https://t.co/BSQOxIXpe2
2
10
60