News for hackers. Stuff that matters.
Re:The "C is Efficient" Language Fallacy (2006) by buff-a on Monday January 09, 2012 @07:37AM (#3442282)
And then there are SIMD compiler intrinsics. Not technically part of the C standard, but if you want them, C/C++ is where you find'em. Failing that there's inline assembly.
Re:The "C is Efficient" Language Fallacy (2006) by kabdib on Monday January 09, 2012 @10:10AM (#3442756)
Ding. It's amazing what you can do with a decent set of vector operations.

Honestly, if you want balls-out performance, you probably need specialized hardware. In days of yore that meant you bought a vector box for your computer, or a Cray. These days you can just load up a PC with a bunch of high-end GPUs. A cow-orker of mine down the hall has a machine with six of them installed -- he's so giddy, it's kind of irritating :-)

Re:The "C is Efficient" Language Fallacy (2006) by aaronblohowiak on Monday January 09, 2012 @10:26PM (#3445502)
if you use the Accelerate Framework on OSX or iOS, you have a very easy-to-use interface to vector ops (pass in pointers to your array..)