On Wednesday, 10 June 2015 at 08:50:31 UTC, Dennis Ritchie wrote:
On Wednesday, 10 June 2015 at 08:39:12 UTC, ixid wrote:
I suspect this is more about who the Mathematica and D users
are as Project Euler is mostly mathematical rather than code
optimization.
Here and I say that despite the fact that in D BigInt not
optimized very well, it helps me to solve a wide range of tasks
that do not require high performance, so I want to BLAS or
something similar was in D. Something is better than nothing!
You rarely need to use BigInt for heavy lifting though, often
it's just summing, not that I would argue against optimization. I
think speed is absolutely vital and one of the most powerful
things we could do to promote D would be to run the best
benchmarks site for all language comers and make sure D does very
well. Every time there's a benchmark contest it seems to unearth
D performance issues that can be greatly improved upon.
I'm sure you will beat me pretty quickly, as I said my maths
isn't very good but it might motivate me to solve some more! =)