Why Hacker News recommends it
2 comments from 2 distinct recommending readers, between 2024 and 2024.
- Recommends
FFmpeg developers aren't stupid and aren't doing things because of historical accident. If you don't mind writing platform specific code, it simply works better this way. Here's clang messing up x86 intrinsics code. x.com/ffmpeg/status/1852913590258618852 The other reason to do it is that, since x86 intrinsics are named in Hungarian notation, they're so hard to read that the asm is actually more maintainable.
A 94x speed improvement demonstrated using handwritten assemblyRead the thread - Recommends
FFMPEG uses hand written assembly across their code base, and while 94x may not be representative everywhere, it's generally true that they regularly outperform the compiler with assembly: x.com/FFmpeg/status/1852913590258618852 x.com/FFmpeg/status/1850475265455251704
A 94x speed improvement demonstrated using handwritten assemblyRead the thread