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.
Benchmark: Java, Python, PHP, C, JavaScript, Swift, Ruby, Perl, Go, Lua, Rust
101–110 of 132 posts
Re: Benchmark: Java, Python, PHP, C, JavaScript, Swift, Ruby, Perl, Go, Lua, Rust
#102where'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…
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
#103No Lisp? :-(
http://benchmarksgame.alioth.debian.org/
and click "Lisp".
Re: Benchmark: Java, Python, PHP, C, JavaScript, Swift, Ruby, Perl, Go, Lua, Rust
#104No 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
(Clojure has. So's Scala.)
Re: Benchmark: Java, Python, PHP, C, JavaScript, Swift, Ruby, Perl, Go, Lua, Rust
#105With 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
Re: Benchmark: Java, Python, PHP, C, JavaScript, Swift, Ruby, Perl, Go, Lua, Rust
#106No Scala anymore?
Re: Benchmark: Java, Python, PHP, C, JavaScript, Swift, Ruby, Perl, Go, Lua, Rust
#107Earlier 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...
Re: Benchmark: Java, Python, PHP, C, JavaScript, Swift, Ruby, Perl, Go, Lua, Rust
#108Earlier 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.
Re: Benchmark: Java, Python, PHP, C, JavaScript, Swift, Ruby, Perl, Go, Lua, Rust
#109Earlier 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…
Re: Benchmark: Java, Python, PHP, C, JavaScript, Swift, Ruby, Perl, Go, Lua, Rust
#110Years 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…