http://www.biomedcentral.com/1471-2105/9/82
Background
The performance of different programming languages has previously been benchmarked usingabstract mathematical algorithms, but not using standard bioinformatics algorithms. We comparedthe memory usage and speed of execution for three standard bioinformatics methods,implemented in programs using one of six different programming languages. Programs for theSellers algorithm, the Neighbor-Joining tree construction algorithm and an algorithm for parsingBLAST file outputs were implemented in C, C++, C#, Java, Perl and Python.
Results
Implementations in C and C++ were fastest and used the least memory. Programs in theselanguages generally contained more lines of code. Java and C# appeared to be a compromisebetween the flexibility of Perl and Python and the fast performance of C and C++. The relativeperformance of the tested languages did not change from Windows to Linux and no clearevidence of a faster operating system was found.
Conclusion
This benchmark provides a comparison of six commonly used programming languages under two different operating systems. The overall comparison shows that a developer should choose an appropriate language carefully, taking into account the performance expected and the library availability for each language.
没有评论:
发表评论