Live data from Hacker News

Benchmark: Java, Python, PHP, C, JavaScript, Swift, Ruby, Perl, Go, Lua, Rust

benchmarksgame.alioth.debian.org

101–110 of 132 posts

Re: Benchmark: Java, Python, PHP, C, JavaScript, Swift, Ruby, Perl, Go, Lua, Rust

#101
post #55

Earlier quoted context omitted.

> There's plenty to not like about JS, but being interpreted and not having integers or arrays is not high on its negatives list. We are having a discussion is about programming language benchmarks. A benchmark in this case is a measure of how fast a computer program can run. A computer program is a series of instructions for a computer. These instructions are written in something called a programming language . A pr…

JavaScript is compiled to assembly language in modern runtimes like v8. You are confusing a language with the language implementation.

For example --

http://benchmarksgame.alioth.debian.org/u32/compare.php?lang...

Re: Benchmark: Java, Python, PHP, C, JavaScript, Swift, Ruby, Perl, Go, Lua, Rust

#102
post #73

where's D-lang? it would be interesting to compare D with C, C++, and Rust

Good luck on seeing D on that site. There seems to be a active war between the sites maintainer and D. There used to be D benchmarks on the old site and people tries to release new code to the site, but for some reason the current maintainer has a issue with D. And he thinks its no unfair that D is not resented when a lot of people look at his site and think: "If your not here as a language, then the language must be…

> There seems to be a active war between the sites maintainer and D.

No.

> There used to be D benchmarks on the old site

Back in early 2008.

http://web.archive.org/web/20080730204710/http://shootout.al...

Look how many other language implementations were also shown back then and have not been shown since.

> … for some reason the current maintainer has a issue with D

No.

> Good luck on changing his mindset…

Make the measurements you want to see and publish them for everyone else to see.

Re: Benchmark: Java, Python, PHP, C, JavaScript, Swift, Ruby, Perl, Go, Lua, Rust

#104
post #50
post #2

No Lisp? :-(

They used to have Lisp & Clojure. No idea why it's been removed. Some is still accessible: http://benchmarksgame.alioth.debian.org/u32/lisp.html http://benchmarksgame.alioth.debian.org/u32/clojure.html

>> No idea why it's been removed. Lisp hasn't been removed.

(Clojure has. So's Scala.)

Re: Benchmark: Java, Python, PHP, C, JavaScript, Swift, Ruby, Perl, Go, Lua, Rust

#105
post #71

With this new revision this great benchmark got less useful. Why can't I compare: Lua vs LuaGIT PHP5 vs PHP7 vs HHVM vs Hack Perl5 vs Perl6 GNU GCC vs Intel C vs CLANG This new rule "one implementation per language" is so stupid!!! @debian: change it back

"If you're interested in something not shown on the benchmarks game website then please take the program source code and the measurement scripts and publish your own measurements."

Re: Benchmark: Java, Python, PHP, C, JavaScript, Swift, Ruby, Perl, Go, Lua, Rust

#107
post #80

Earlier quoted context omitted.

You provided zero evidence for your claim. I'm not saying you're necessarily wrong, but so far you have only made an assertion. If you think some language is misrepresented in that benchmark, you can submit your own solution.

On how the benchmarks should be interpreted http://benchmarksgame.alioth.debian.org/for-programming-lang...

http://benchmarksgame.alioth.debian.org/dont-jump-to-conclus...

Re: Benchmark: Java, Python, PHP, C, JavaScript, Swift, Ruby, Perl, Go, Lua, Rust

#108
post #96

Earlier quoted context omitted.

Perhaps, so I just googled "download benchmarks game scripts" -- 4th URL on first page of results. Perhaps it's merely a reflection of wanting some one else to do work we choose not to do. (You'll find that there already are duplicates of the benchmarks game repos on github).

"Perhaps it's merely a reflection of wanting some one else to do work we choose not to do." Entirely valid position to take. There's only so many hours in a day, so many days in a year, and so many years in a life.

rurban (and frik and wulfklaue) do not seem to feel that it is a valid position for me to take.

Re: Benchmark: Java, Python, PHP, C, JavaScript, Swift, Ruby, Perl, Go, Lua, Rust

#109

Earlier quoted context omitted.

You provided zero evidence for your claim. I'm not saying you're necessarily wrong, but so far you have only made an assertion. If you think some language is misrepresented in that benchmark, you can submit your own solution.

The problem is subjective and thus more difficult to provide evidence for. I don't think the parent doubts the runtimes or is claiming that the code for his pet language wasn't written properly and therefore the site is a sham. The issue is: what is reasonable code? Benchmarks invariably become a game of massaging the code to produce the optimal assembly. And that's the problem. The reason that we invented higher lev…

>> I don't think the parent doubts the runtimes or is claiming that the code for his pet language wasn't written properly and therefore the site is a sham. We could always take the parent at their word -- "Now i know these are Potemkin-village level stunts and political maneuvering by language activists and staff of that site.".

Re: Benchmark: Java, Python, PHP, C, JavaScript, Swift, Ruby, Perl, Go, Lua, Rust

#110

Years ago i was naive enough to believe these benchmarks. Now i know these are Potemkin-village level stunts and political maneuvering by language activists and staff of that site. If you really want actual benchmarking you have to do it yourself and read the .asm output for comparison. Another caveat is that some languages are genuinely faster in one hyperoptimized case(even faster than C) but fail horribly when thi…

>> Now i know these are Potemkin-village level stunts and political maneuvering by language activists and staff of that site. That's just name-calling.
Post reply on HN