factual

Abusing hardware beyond intended design for speed

FFmpeg/dav1d achieve extreme speed by abusing the machine in unintended ways, including using cryptography instructions for unrelated video processing and bypassing the operating system's function calling convention to create custom calling conventions within their own libraries, avoiding costly register save/restore through L1/L2 cache.

factualpending

Speaker

Kieran Kunhya

Evidence Quote

“we don't even respect the calling convention of the operating system in order to be faster”

Source

Lex Fridman Podcast #496 - FFmpeg— Lex Fridman Podcast
Created: 6/13/2026, 12:26:55 AM

Your notes

Loading notes...