An empirical comparison of seven programming languages

被引:177
作者
Prechelt, L [1 ]
机构
[1] AbaXX Technol, Stuttgart, Germany
[2] Univ Karlsruhe, Karlsruhe, Germany
关键词
D O I
10.1109/2.876288
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Often heated, debates regarding different programming languages' effectiveness remain inconclusive because of scarce data and a lack of direct comparisons. The author addresses that challenge, comparatively analyzing 80 implementations of the phone-code program in seven different languages (C, C++, Java, Perl, Python, Rexx, and Tel). Further, for each language, the author analyzes several separate implementations by different programmers. The comparison investigates several aspects of: each language, including program length, programming effort, runtime efficiency, memory consumption, and reliability. The author uses comparisons to present insight into program language performance. For example, the study indicates that Java's memory overhead is still huge compared to C or C++, but its runtime efficiency has become quite acceptable. The scripting languages, however, offer reasonable alternatives to C and C++, even for tasks that must handle fair amounts of computation and data.
引用
收藏
页码:23 / +
页数:8
相关论文
共 4 条
[1]  
[Anonymous], 1993, Monographs on statistics and applied probability
[2]  
Boehm B. W., 1981, SOFTWARE ENG EC
[3]  
Jones C., 1996, SOFTWARE PRODUCTIVIT
[4]  
Prechelt L, 2000, EMPIRICAL COMPARISON