Youtube
· Lex Fridman
· technology
Lex Fridman · Shocking performance boost of assembly code: ~100x faster than C code | Lex Fridman Podcast
- 1. Assembly code can be dramatically faster than C, with examples showing 62x performance improvements.
- 2. VLC and FFmpeg achieve broad operating system compatibility through deep low-level optimization.
- 3. The AV1 video decoder "David" uses an unprecedented 240,000 lines of handwritten assembly code.
- 4. Extreme optimization includes custom function calling conventions, bypassing operating system standards.
- 5. As hardware improvements slow, low-level optimization is crucial for extracting maximum performance.