News for hackers. Stuff that matters.
Re:FFmpeg School of Assembly Language by warble on Saturday February 22, 2025 @01:08PM (#43141447)
I highly doubt it's true. I can usually approach the same speed in C if I'm working with a familiar compiler. Sometimes I can do significantly better in assembly but it's rare.

I work on bare metal embedded systems though, so maybe there's some nuance when working with bigger OS libs?

Re:FFmpeg School of Assembly Language by umanwizard on Saturday February 22, 2025 @04:29PM (#43143442)
The difference is probably that you don’t work in an environment that supports SIMD or your code can’t benefit from it.
Re:FFmpeg School of Assembly Language by warble on Sunday February 23, 2025 @10:53AM (#43150134)
You're correct, I don't use SIMD instructions much, but I can, and with a C compiler. So still, not sure the advantage of ASM.