Hacker News new | ask | show | jobs
by spullara 1475 days ago
All of the languages now have that trash in them. I'd like a "naive" benchmarks game where you write the code straight forwardly in a normal style for the language.
1 comments

Kind of but less transliteration and more in the natural style of the target language.
>Java: 40 seconds

>Python 3: 1h 09 minutes

Well damn.

:-)

"Or even acknowledge — Anyone else a bit shocked by how well Javascript on V8 performs? I might need to rethink my assumptions…"

https://benchmarksgame-team.pages.debian.net/benchmarksgame/...

Not hard to do, I once took some C code, naively converted it to python [0] and it took hours instead of seconds to run.

[0] I wanted to output an image and the C code only ran statistics so I would have had to figure out some random C image library which wasn’t how I wanted to spend my day.

Is that only for the mandelbrot benchmark?
"… you choose which program differencies to explore … you choose which program measurements to compare."

"Are they similar-enough to be comparable for your purposes?"

n-body Chapel #3 program

https://benchmarksgame-team.pages.debian.net/benchmarksgame/...

n-body C clang program

https://benchmarksgame-team.pages.debian.net/benchmarksgame/...

n-body Java program

https://benchmarksgame-team.pages.debian.net/benchmarksgame/...