News for hackers. Stuff that matters.
Re:When Haskell is Faster than C by ay on Saturday January 19, 2013 @08:24AM (#5083310)
On my 64-bit MBP, this program does not terminate - at least not within the 3 minutes I allowed it to run. (the blog article's one completes within 4 seconds, so I thought 60-fold slack is enough).

I did not debug it though.

Re:When Haskell is Faster than C by igouy on Saturday January 19, 2013 @12:41PM (#5084008)
Re:When Haskell is Faster than C by ay on Saturday January 19, 2013 @01:03PM (#5084092)
I know it works on Ubuntu 64-bit. :-) Just that it appears to be hanging on MacOS 64-bit. The algorithms like this one should hardly have such a catastrophic failure - that's why I am curious if someone else can replicate it hanging on MacOS.

BTW, on 8-core Ubuntu box with 32Gb RAM, my silly half-an-hour hack from yesterday - http://stdio.be/revseq.c - still outperforms this one and completes in 60% of time. So I am getting more and more convinced that either I did not get the spec right while writing it.. Or that I should submit it :-)

EDIT: If you have a chance to give it a whirl alongside, could be fun to compare your results with mine...