News for hackers. Stuff that matters.
Re:X264's abstraction layer for cross-platform x86 assembly:... by jrockway on Sunday October 25, 2009 @11:11PM (#902561)
Seriously, you're downmodding this? Write some C sometime, and watch the compiler output perfectly-optimized assembly for your architecture. You write a high-level solution to the problem, the compiler makes it work efficiently.

If it doesn't, it's a compiler bug, and should be fixed at that level.

Re:X264's abstraction layer for cross-platform x86 assembly:... by ramchip on Sunday October 25, 2009 @11:42PM (#902586)
I program C signal processing code on x86. Sure, it's usually sufficient for my needs, but "perfectly-optimized assembly"? Not for those tight loops where you really want it. It's decent and if you hold the compiler's hand will get vectorized somewhat, but the code is still heavy.
Re:X264's abstraction layer for cross-platform x86 assembly:... by jai on Monday October 26, 2009 @02:16AM (#902713)
> You write a high-level solution to the problem, the compiler makes it work efficiently.

Ideally yeah, but if you look at gcc for example, this statement is far from the truth. Then again, based on your logic, I guess gcc is buggy...

Re:X264's abstraction layer for cross-platform x86 assembly:... by jwr on Sunday November 01, 2009 @04:19AM (#914881)
It is obvious you don't know what you're talking about and have never seen tightly optimized signal-processing code (as in, say, H.264 weighted prediction or interpolation).