Skip to content
Artwork for My Weird Prompts
My Weird Prompts · Yesterday · 27 min

Compiling From Source: What You Actually Get

Daniel spent twenty years on Linux desktops without understanding why anyone would compile software from source. This episode takes that question seriously, starting with the assumption everyone carries: that a self-built binary must be better optimized. It mostly isn't. A 1999 kernel recompile gained 1.8 percent; a 2026 Modern C++ benchmark found GCC with profile-guided optimization ran 9.4 percent slower than a plain O2 build, because the optimizer's bets didn't pay off. So why does the source tradition survive? Not for speed — for control over what gets built. USE flags let you compile out codecs, protocols, and integrations you never use, and code that isn't there can't be exploited. We walk through the two poles, Ubuntu's signed reproducible binaries versus Gentoo's Portage, what actually happens during a build, and why watching the compiler work is itself part of what people are buying. Key sources: • Gentoo, 2023-12-29 — https://www.gentoo.org/news/2023/12/29/Gentoo-binary.html • Gentoo wiki — https://wiki.gentoo.org/wiki/Gentoo_Binary_Host_Quickstart • Gentoo wiki — https://wiki.gentoo.org/wiki/Binary_package_guide Episode 5965 — myweirdprompts.com/n/5965 (permanent short link: myweirdprompts.com/254954)

0:00 · Intro-27:51

transcript

No transcript — this publisher did not publish one.

show notes

Daniel spent twenty years on Linux desktops without understanding why anyone would compile software from source. This episode takes that question seriously, starting with the assumption everyone carries: that a self-built binary must be better optimized. It mostly isn't. A 1999 kernel recompile gained 1.8 percent; a 2026 Modern C++ benchmark found GCC with profile-guided optimization ran 9.4 percent slower than a plain O2 build, because the optimizer's bets didn't pay off. So why does the source tradition survive? Not for speed — for control over what gets built. USE flags let you compile out codecs, protocols, and integrations you never use, and code that isn't there can't be exploited. We walk through the two poles, Ubuntu's signed reproducible binaries versus Gentoo's Portage, what actually happens during a build, and why watching the compiler work is itself part of what people are buying.

Key sources:
• Gentoo, 2023-12-29 — https://www.gentoo.org/news/2023/12/29/Gentoo-binary.html
• Gentoo wiki — https://wiki.gentoo.org/wiki/Gentoo_Binary_Host_Quickstart
• Gentoo wiki — https://wiki.gentoo.org/wiki/Binary_package_guide

Episode 5965 — myweirdprompts.com/n/5965 (permanent short link: myweirdprompts.com/254954)

chapters

5 chapters