Programming language benchmarks

Alexander aldem+dmars at nk7.net
Thu Apr 28 09:10:35 PDT 2011


On 28.04.2011 17:44, Andrej Mitrovic wrote:

> 
> But then these are not programming >language< benchmarks, they are >compiler< benchmarks.

  "compiler benchmark" is something that should measure compilation speed, for instance, but "language benchmark" shows how good specific language (+ compiler, of course) is in efficiency of compiled code.

> If you can get more performance out of a language with less code and simpler syntax, then that language is better performing in my book.

  "language" is a pure language without any libraries (there are dozens of each for any kind of task, anyway).

  After all, libraries are written in language, so, performance of compiled code matters. You may even use Perl for matrix multiplication, interfacing it to external asm library, and it will beat pure C ;)

  But of course, it all depends on application - if you can find something already implemented and use it - then you are right, but, if you have to write something on your own (something that doesn't exists), and you *need* performance, then your
priorities will be shifted, I think ;)

/Alexander


More information about the Digitalmars-d mailing list