IPD - Chair Tichy - Programming Systems

An empirical comparison of C, C++, Java, Perl, Python, Rexx, and Tcl

  • Name:

    Journal Article

  • Author:

    Lutz Prechelt

  • Summary

    80 implementations of the same set of requirements are compared for several properties, such as run time, memory consumption, source text length, comment density, program structure, reliability, and the amount of effort required for writing them. The results indicate that, for the given programming problem, which regards string manipulation and search in a dictionary, \"scripting languages\" (Perl, Python, Rexx, Tcl) are more productive than \"conventional languages\" (C, C++, Java). In terms of run time and memory consumption, they often turn out better than Java and not much worse than C or C++. In general, the differences between languages tend to be smaller than the typical differences due to different programmers within the same language.

    Bibtex

    @article{,
    author={Lutz Prechelt},
    title={An empirical comparison of C, C++, Java, Perl, Python, Rexx, and Tcl},
    year=2000,
    month=Oct,
    volume={30},
    url={https://ps.ipd.kit.edu/downloads/za_2000_empirical_comparison.pdf},
    abstract={80 implementations of the same set of requirements are compared for several properties, such as run time, memory consumption, source text length, comment density, program structure, reliability, and the amount of effort required for writing them. The results indicate that, for the given programming problem, which regards string manipulation and search in a dictionary, \"scripting languages\" (Perl, Python, Rexx, Tcl) are more productive than \"conventional languages\" (C, C++, Java). In terms of run time and memory consumption, they often turn out better than Java and not much worse than C or C++. In general, the differences between languages tend to be smaller than the typical differences due to different programmers within the same language.},
    number={10},
    pages={23-29},
    journal={IEEE Computer},
    }
  • Year:

    2000 

  • Links: