1. Computing

Programming Challenge 64 Marked

By December 2, 2012

Follow me on:

With 16 entries, I've a feeling it's one of the larger number of entries with code in all four languages: C, C++, C# and Google Go. Congratulations to Swede Tapani Utriainen whose entry was easily the fastest. It included inline assembly language and I've never made up my mind whether to exclude that so I could hardly disqualify him. Plus there's an argument that says why not allow it as it was valid C code according to GCC.

Thank you to everyone who entered. Interestingly the fastest entry was 251,656 faster than the slowest! The source files are now up.

Comments
December 3, 2012 at 7:17 pm
(1) Brian says:

You ask (perhaps rhetorically) why not allow ASM. My thought is that it’s a challenge on a site specifically targetting and promoting C/C++/C# – not ASM. And it being a speed challenge is all the more reason; as I’d expect any competent ASM programmer to beat even the best C/C++/C# programer in a speed challenge.

And although I appreciate that it’s valid in GCC, I would make the distiction between being “valid C” and “valid due to a special feature of a particular compiler” – as it is clearly not “valid C” by any recognized or accepted standard of the C language or any variant thereof (ISO or otherwise).

I’m sure there are sites (and challenges) which are intentially open to ASM participants. I don’t believe allowing ASM embodies the spirit of this site’s (and challenges’) intent; though I’m open to being wrong about that.

December 4, 2012 at 6:25 am
(2) Fera Louca says:

Just want to leave a request for speed tests to have a bit more clear rules in future…

Personally, I had a single iteration and timed the full program (including file reading), has i saw that on previous speed contest, and assume it, but most left it out ;)

Non the less is very funny to see other programmers approach to the same problem!!!

The next challenge is even better….

Leave a Comment

Line and paragraph breaks are automatic. Some HTML allowed: <a href="" title="">, <b>, <i>, <strike>

©2014 About.com. All rights reserved.