News for hackers. Stuff that matters.
Re:Engine Yard Programming Contest - Win an iPhone 3GS PLUS ... by callmeed on Tuesday July 14, 2009 @03:04PM (#704365)
I'm definitely not great at this kind of stuff, but I'll give it a try ...

Check out the Amatch ruby gem ... it can compute the hamming distance ... might be easy to automate with ruby ...

http://amatch.rubyforge.org/doc/index.html

Re:Engine Yard Programming Contest - Win an iPhone 3GS PLUS ... by potatolicious on Tuesday July 14, 2009 @06:59PM (#704799)
Except doing this through Ruby is a guaranteed bet to not get done in time.
Re:Engine Yard Programming Contest - Win an iPhone 3GS PLUS ... by sho on Tuesday July 14, 2009 @09:24PM (#704949)
I agree that the gem mentioned might not be suitable, but Ruby could still have a part to play, especially as it allows direct use of native libraries, or just managing processes running on the OS.

Someone doing this should probably write the fast-spinning cogs in C, but it might be worth using Ruby to manage threads, processes, data segments, etc - indeed, maybe prototype the C code there first too. You'd gain an awful lot of convenience for very little overhead.