Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

This is the n-body problem from the Computer Language Benchmark Game with the attribution to the original author removed.

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

The faster programs usually use SIMD.

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



Really sorry about that one. I've added the link a few minutes ago. I just did not expect this to be notable at all to anyone. Thanks for pointing it out!


Any idea what's going on with the mem values in the listing in your second link?

Wouldn't expect a C++ implementation to use 200x the memory of a C implementation. Different algorithms presumably? Or a significant compiler optimisation being missed?


Maybe because the cpp version includes stdlib on top of stdio?


Ah, of course. So the problem doesn't involve any real allocations, and it's just the language overhead that we're seeing.


This is offtopic but I really wish that they re-added the graphs in the benchmarksgame.



This is quite useless compared to the old ones (it used to have a benchmark on each program and language and you could compare them)


You don't say which graphs you are complaining about, and you don't say why you think some other graphs were useful.

Those graphs show the same as they did in 2013:

https://web.archive.org/web/20130411161423/http://benchmarks...

Do you mean these:

https://web.archive.org/web/20130520174141im_/http://benchma...

Do you mean these:

https://web.archive.org/web/20140608064549im_/http://benchma...


I meant the last one. I did say exactly which graph I was complaining about.


So why do you "really wish that they re-added" that graph ?

What problem would that solve for you ?


What does that graph let you do that you cannot do now?


Easily compare in a cute format how a language does against another for a given problem regarding memory usage and time.


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

Not "cute" enough?

(More people complained about those charts than thought them cute.)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: