4 ms·
"An empirical comparison of c, c++, java, perl, python, rexx and tcl" Lutz Prechelt IEEE Computer 33 (10), 23-29, 2000 80 implementations of the same set of
by gcthomas 7y ago
"An empirical comparison of c, c++, java, perl, python, rexx and tcl"
Lutz Prechelt
IEEE Computer 33 (10), 23-29, 2000
80 implementations of the same set of requirements, created by 74 different programmers in various languages, 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,“scripting languages”(Perl, Python, Rexx, Tcl) are more productive than conventional languages. 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.
- FpUser 7y agoDid some reading. The first thing that puts me on alert about the result is this: " Most programmers in the script group used the associative arrays provided by their language and stored the dictionary words to be retrieved by their number encodings" For C++/non-scripting they either used plain arrays or custom build tree in one case. So they had to write lots of code. Sorry but there are associative arrays in C++ standard library and search and this and that. Building the program they've specified would be a no brainer in modern C++. This article is irrelevant for current situation.