Re: Comparisons and Benchmarking

Paul Biggar <paul.biggar@gmail.com>
Tue, 20 Oct 2009 11:30:08 +0100

          From comp.compilers

Related articles
Comparisons and Benchmarking herron.philip@googlemail.com (Philip Herron) (2009-10-14)
Re: Comparisons and Benchmarking DrDiettrich1@aol.com (Hans-Peter Diettrich) (2009-10-19)
Re: Comparisons and Benchmarking SidTouati@inria.fr (Sid Touati) (2009-10-19)
Re: Comparisons and Benchmarking anton@mips.complang.tuwien.ac.at (2009-10-19)
Re: Comparisons and Benchmarking paul.biggar@gmail.com (Paul Biggar) (2009-10-20)
Re: Comparisons and Benchmarking igouy2@yahoo.com (Isaac Gouy) (2009-10-20)
Re: Comparisons and Benchmarking tc@cs.bath.ac.uk (Tom Crick) (2009-10-20)
Re: Comparisons and Benchmarking herron.philip@googlemail.com (Philip Herron) (2009-10-21)
Re: Comparisons and Benchmarking torbenm@pc-003.diku.dk (2009-10-21)
Re: Comparisons and Benchmarking gneuner2@comcast.net (George Neuner) (2009-10-21)
Re: Comparisons and Benchmarking bear@sonic.net (Ray) (2009-11-04)
[1 later articles]
| List of all articles for this month |
From: Paul Biggar <paul.biggar@gmail.com>
Newsgroups: comp.compilers
Date: Tue, 20 Oct 2009 11:30:08 +0100
Organization: Compilers Central
References: 09-10-016 09-10-021
Keywords: benchmarks, design
Posted-Date: 20 Oct 2009 21:46:08 EDT

On Mon, Oct 19, 2009 at 12:12 AM, Hans-Peter Diettrich
<DrDiettrich1@aol.com> wrote:
> IMO algorithms are so language independent, that they may boil down to
> the very same machine code, regardless of the used language and compiler.


This is only true if you take a very narrow view of language
implementations. Of the "most popular" languages today, lets suppose
C, C++, Java, PHP, C#, VB, and Javascript, I would say that there
exist only C and C++ implementations which could be expected to
execute the very same machine code at run-time, even for simple
algorithms. It would be tough to expect different interpreters, JITs,
managed languages and virtual machines to execute a program similarly.


Paul


--
Paul Biggar
paul.biggar@gmail.com



Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.