← All stories
AI & Tech

Handwritten Assembly Code Delivers 62x Performance Over Modern C Compilers

By Egleze Editorial Desk · Published May 8, 2026 · Updated May 8, 2026 · Lex Fridman Podcast · #496 – FFmpeg: The Incredible Technology Behind Video on the Internet
Handwritten Assembly Code Delivers 62x Performance Over Modern C Compilers
Lex Fridman Podcast
Lex Fridman Podcast
#496 – FFmpeg: The Incredible Technology Behind Video on the Internet

What was said

"The way I would look at it personally is a little bit like the padlock on your home. Not everyone, the padlock on your home or, you know, the lock on your home is there to protect against the capabilities of what it's there to protect. It's not there to protect nuclear secrets. It's not there to protect Fort Knox."

The FFmpeg team demonstrated that manually optimized assembly code can outperform C by 62 times in real-world video processing scenarios. The dav1d AV1 decoder contains 240,000 lines of handwritten assembly across multiple architectures, challenging the prevailing assumption that modern compilers can match human optimization. This approach powers billions of devices decoding video in software.

Verification status

Attributed speaker claim

Egleze verified who said this and where. The underlying claim has not been independently established by Egleze.

Source and context

Egleze verified who said this and where. The underlying claim has not been independently established by Egleze.

Programme
Lex Fridman Podcast
Episode
#496 – FFmpeg: The Incredible Technology Behind Video on the Internet
Clip time
1:13:05
Original source
Watch the source segment →
From this episode
Lex Fridman Podcast
Lex Fridman Podcast

#496 – FFmpeg: The Incredible Technology Behind Video on the Internet

May 6, 2026 · 5 Egleze moments
Read episode summary and key points →

More moments from this episode

AI & TechTeenage Engineers Contribute More Assembly Code Than Google Security Researchers→EspionageCIA Modified VLC Media Player to Spy on Users Via WikiLeaks Revelation→AI & TechFFmpeg Runs on Mars Rover Proving Open Source Powers Multi-Planetary Technology→AI & TechVLC Creator Rejected Tens of Millions in Ads to Keep Software Free→
More stories More from Lex Fridman Podcast