www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - What do you think about this Benchmark without D?

reply matheus <matheus gmail.com> writes:
There is this topic today on Reddit: 
https://www.researchgate.net/figure/Normalized-global-results-for-Energy-Time-and-Memory_tbl2_320436353

And this site with results: 
https://sites.google.com/view/energy-efficiency-languages/results

They tried 27 languages and no sign of D, aren't you concerned 
about this too?

Matheus.
Mar 09
next sibling parent reply aliak <something something.com> writes:
On Monday, 9 March 2020 at 19:26:52 UTC, matheus wrote:
 There is this topic today on Reddit: 
 https://www.researchgate.net/figure/Normalized-global-results-for-Energy-Time-and-Memory_tbl2_320436353

 And this site with results: 
 https://sites.google.com/view/energy-efficiency-languages/results

 They tried 27 languages and no sign of D, aren't you concerned 
 about this too?

 Matheus.
I think it's something that people are generally concerned about, but it's not surprising. D is not really that popular or known. Most of the time when I talk to developers and mention D the response is "what's that?". D might benefit from a product-oriented person on the team who actually has a say in how to go about things, and where prioritizations happen.
Mar 09
next sibling parent bachmeier <no spam.net> writes:
On Monday, 9 March 2020 at 22:40:19 UTC, aliak wrote:
 D is not really that popular or known. Most of the time when I 
 talk to developers and mention D the response is "what's that?".
It doesn't help to generalize from the group of developers you hang out with. (That's an extremely common thing to do in programming discussions.) Languages like OCaml, Racket, and Chapel are hardly popular or known among developers at large. The choice of languages was a decision made by researchers who no doubt have heard of D.
 D might benefit from a product-oriented person on the team who 
 actually has a say in how to go about things, and where 
 prioritizations happen.
There needs to be a reason to use the language. High quality libraries, good documentation, an enjoyable developer experience because it was included in the benchmark.
Mar 09
prev sibling parent reply JN <666total wp.pl> writes:
On Monday, 9 March 2020 at 22:40:19 UTC, aliak wrote:
 I think it's something that people are generally concerned 
 about, but it's not surprising.

 D is not really that popular or known. Most of the time when I 
 talk to developers and mention D the response is "what's that?".

 D might benefit from a product-oriented person on the team who 
 actually has a say in how to go about things, and where 
 prioritizations happen.
D might be harder to include in such a benchmark. What kind of D code would be used? "normal" D, nogc D, -betterC?
Mar 10
parent Aliak <something something.com> writes:
On Tuesday, 10 March 2020 at 07:45:12 UTC, JN wrote:
 On Monday, 9 March 2020 at 22:40:19 UTC, aliak wrote:
 I think it's something that people are generally concerned 
 about, but it's not surprising.

 D is not really that popular or known. Most of the time when I 
 talk to developers and mention D the response is "what's 
 that?".

 D might benefit from a product-oriented person on the team who 
 actually has a say in how to go about things, and where 
 prioritizations happen.
D might be harder to include in such a benchmark. What kind of D code would be used? "normal" D, nogc D, -betterC?
I dunno 🤷‍♂️ but I regret falling for the initial post and replying 😛 well played OP, well played... 😤
Mar 10
prev sibling next sibling parent IGotD- <nise nise.com> writes:
On Monday, 9 March 2020 at 19:26:52 UTC, matheus wrote:
 There is this topic today on Reddit: 
 https://www.researchgate.net/figure/Normalized-global-results-for-Energy-Time-and-Memory_tbl2_320436353

 And this site with results: 
 https://sites.google.com/view/energy-efficiency-languages/results

 They tried 27 languages and no sign of D, aren't you concerned 
 about this too?

 Matheus.
I wouldn't worry about it too much. Nim, Crystal and Zig are also examples that are left out.
Mar 09
prev sibling next sibling parent ketmar <ketmar ketmar.no-ip.org> writes:
matheus wrote:

 They tried 27 languages and no sign of D, aren't you concerned about this 
 too?
i am happy. the less D participates in such i...ntellectual researches, the better.
Mar 09
prev sibling parent reply septc <septcolor7 gmail.com> writes:
On Monday, 9 March 2020 at 19:26:52 UTC, matheus wrote:
 There is this topic today on Reddit: 
 https://www.researchgate.net/figure/Normalized-global-results-for-Energy-Time-and-Memory_tbl2_320436353

 And this site with results: 
 https://sites.google.com/view/energy-efficiency-languages/results

 They tried 27 languages and no sign of D, aren't you concerned 
 about this too?
I haven't read the article (so not sure about details), but isn't the comparison in the cited page inspired by the "benchmark game" problems and languages shown in the following site? https://benchmarksgame-team.pages.debian.net/benchmarksgame/ https://benchmarksgame-team.pages.debian.net/benchmarksgame/description/summary.html If so, I guess new languages appear in the website only when new codes are submitted for comparison (from users' side). So the situation may be not "other people not much interested in D", but rather "D users are not much interested in such comparison (so no codes submitted yet)", e.g. https://benchmarksgame-team.pages.debian.net/benchmarksgame/performance/mandelbrot.html https://salsa.debian.org/benchmarksgame-team/benchmarksgame/blob/master/README.md https://salsa.debian.org/benchmarksgame-team/benchmarksgame/issues?scope=all&utf8=%E2%9C%93&state=closed for determining fast languages in a practical sense, because the codes often utilize very low-level things (to gain maximum speed) and so often very ugly and not readable. The codes do not reflect the usual coding style in many cases, IMO. On the other hand, I feel it is interesting to see how different languages are used for the same topic (e.g. mandelbrot) (so in a way similar to RosettaCode). http://rosettacode.org/wiki/Rosetta_Code
Mar 09
parent rikki cattermole <rikki cattermole.co.nz> writes:
Old thread talks about it. Circa 2009 (plenty of them since too).

https://forum.dlang.org/thread/hfubfc$jrr$2 digitalmars.com?page=1
Mar 09