Programming-Language-Benchmarks
Programming-Language-Benchmarks copied to clipboard
D lang ?
@igouy thx for bringing this up. Will do when I get a chance or if someone would offer help.
@igouy I learnt in the post that D was once included in ur site, is source code of D solutions still available somewhere? May I use them to jump start? Btw, I've added D workflow here and implemented a coro-prime-sieve problem
Any dlang programs will be in these folders:
https://salsa.debian.org/benchmarksgame-team/archive-alioth-benchmarksgame/-/tree/master/contributed-source-code/shootout
They are old. I don't know if they still work, but of course you can use them.
Also
https://qznc.github.io/d-shootout/
Don't know if they are different.
Thanks!
Unfortunately, those code from 3+ years ago does not compile anymore : ) Looks like D lang has changed a lot.
Unfortunately, those code from 3+ years ago does not compile anymore : ) Looks like D lang has changed a lot.
Sorry.
Hi
https://github.com/hanabi1224/Programming-Language-Benchmarks
"This is inspired by The Computer Language Benchmarks Game, thanks to the creator."
Some people always read "thanks to the creator" to mean "thanks to God".
Perhaps better to say "thanks to the curator".
There's a new version of Chapel, maybe that would be a good addition to your project?
https://salsa.debian.org/benchmarksgame-team/benchmarksgame/-/issues/467
best wishes, Isaac
Hi Isaac, thx for ur suggestions, my answers are inline
Perhaps better to say "thanks to the curator"
Fixed, thx for pointing out the ambiguity.
new version of Chapel
Sure, I've just added chapel and bootstrapped it with 3 code files directly borrowed from ur site, plz let me know if there's any concern.
Some new D realizations under preparation. I just would like to ask @hanabi1224 : consider to change DMD compiler with GDC. DMD is reference compiler and could not provide faster machine code as LDC and GDC. And comparison of LLVM (LDC) and GCC (GDC) worlds would be much more interesting in my opinion.
I would second @cyrusmsk
DMD is not a real/production compiler IMO, it's the language's reference compiler. It's useful for development because it compiles very fast but you'd not want to ship a DMD binary ideally.
Would be more interesting/useful to compare GDC and LDC (GCC + LLVM implementations)
https://forum.dlang.org/post/[email protected]
Btw the issue could be closed now - all problems have some D solution