News for hackers. Stuff that matters.
Re:Tell HN: Programmer interview "test" status ... by VBprogrammer on Tuesday June 01, 2010 @08:23AM (#1394885)
That's quite poetic considering your C is far from idiomatic.

Surely manipulating pointers would be the expected way of doing this, and probably easier to optimise for the compiler.

Re:Tell HN: Programmer interview "test" status ... by thelonecabbage on Tuesday June 01, 2010 @08:42AM (#1394903)
Because array syntax is clearer (to me), does the exact same thing, and the speed of a computer doubles every 24 months but programmers don't.
Re:Tell HN: Programmer interview "test" status ... by thaumaturgy on Tuesday June 01, 2010 @11:05AM (#1395194)
I'm not picking on you, but this is a common sentiment among many programmers that really aggravates the hell out of me. Because of that kind of thinking, lots and lots of people are being forced to replace perfectly good hardware just to be able to run software "designed" for newer systems. The expected benefits from Moore's Law are nearly nonexistent, except for a few specific niches.
Re:Tell HN: Programmer interview "test" status ... by ido on Tuesday June 01, 2010 @06:01PM (#1396287)
> Because of that kind of thinking, lots and lots of people are being forced to replace perfectly good hardware just to be able to run software "designed" for newer systems.

Feature, not a bug (for the providers, anyway).

Re:Tell HN: Programmer interview "test" status ... by nfnaaron on Tuesday June 01, 2010 @12:47PM (#1395481)
It doesn't actually do the exact same thing:

http://c-faq.com/aryptr/aryptr2.html