D benchmark code review
logicchains
jonathan.t.barnard at gmail.com
Fri Dec 13 04:41:52 PST 2013
I've posted a couple of benchmarks involving D previously and
received complaints that the D implementation was ugly and
un-idiomatic, so I thought I'd seek code review before posting
the next one. The code is at
https://github.com/logicchains/ParticleBench/blob/master/D.d;
it's an OpenGL particle animation, and my D code is essentially
just a direct port of the C implementation. Note however that, as
the animation is gpu-bound, there's not much scope for
optimisation of the code (in hindsight, it was a pretty poor
topic for a benchmark, but hindsight always sees farthest and
whatnot).
More information about the Digitalmars-d
mailing list