3 ms·
Same idea as comparing different compilers for the same language. Some algorithms can be expressed in some languages in an essentially identical way. For exam
by retrac 5y ago
Same idea as comparing different compilers for the same language. Some algorithms can be expressed in some languages in an essentially identical way. For example, various sorting algorithms look pretty much the same in Fortran, Pascal and C. Only surface syntax differs. Assuming this is done fairly with each implementation being properly equivalent, it's a way to compare the speed of the languages, at least for that algorithm.