Re:I translated a simple C program to x86_64 and it was slower
by fallat on Saturday April 25, 2020 @07:15PM
(#22982512)
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!
Re:I translated a simple C program to x86_64 and it was slower
by MaxBarraclough on Saturday April 25, 2020 @04:55PM
(#22981402)
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?
Re:I translated a simple C program to x86_64 and it was slower
by heeen2 on Sunday April 26, 2020 @05:37AM
(#22985866)
Maybe because the cpp version includes stdlib on top of stdio?
Re:I translated a simple C program to x86_64 and it was slower
by MaxBarraclough on Sunday April 26, 2020 @07:56AM
(#22986483)
Ah, of course. So the problem doesn't involve any real allocations, and it's just the language overhead that we're seeing.
Re:I translated a simple C program to x86_64 and it was slower
by dependenttypes on Sunday April 26, 2020 @01:48AM
(#22984850)
This is offtopic but I really wish that they re-added the graphs in the benchmarksgame.
Re:I translated a simple C program to x86_64 and it was slower
by dependenttypes on Monday April 27, 2020 @08:20AM
(#22995119)
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)
Re:I translated a simple C program to x86_64 and it was slower
by igouy on Monday April 27, 2020 @11:24AM
(#22996694)
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...
Re:I translated a simple C program to x86_64 and it was slower
by dependenttypes on Monday April 27, 2020 @11:46AM
(#22996945)
I meant the last one. I did say exactly which graph I was complaining about.
Re:I translated a simple C program to x86_64 and it was slower
by igouy on Tuesday April 28, 2020 @10:21AM
(#23007228)
So why do you "really wish that they re-added" that graph ?
What problem would that solve for you ?
Re:I translated a simple C program to x86_64 and it was slower
by igouy on Monday April 27, 2020 @12:58PM
(#22997609)
What does that graph let you do that you cannot do now?
Re:I translated a simple C program to x86_64 and it was slower
by dependenttypes on Sunday May 03, 2020 @06:05AM
(#23058054)
Easily compare in a cute format how a language does against another for a given problem regarding memory usage and time.
Re:I translated a simple C program to x86_64 and it was slower
by igouy on Sunday May 03, 2020 @11:53AM
(#23059755)
https://benchmarksgame-team.pages.debian.net/benchmarksgame/...
Not "cute" enough?
(More people complained about those charts than thought them cute.)
https://benchmarksgame-team.pages.debian.net/benchmarksgame/...
The faster programs usually use SIMD.
https://benchmarksgame-team.pages.debian.net/benchmarksgame/...