Language matters

It's very interesting to browse the Computer Language Benchmarks Game and see how different problems are solved in different languages.

I stumbled on following problem through Reddit:

  • Match DNA 8-mers and substitute nucleotides for IUB codes N=500,000

Check out all solutions of this problem and you will see that Python is in 4. place, only one second behind C++ and faster than C!

Now check out the code:

Language matters and sometimes you don't even get the performance benefit of using a very low level language.

Code · Interesting · Tips 9. Feb 2008
© Amir Salihefendic. Powered by Skeletonz.