Adding Java and C++ to the MQTT benchmarks or: How I Learned to Stop Worrying and Love the Garbage Collector
bearophile
bearophileHUGS at lycos.com
Thu Jan 9 08:12:45 PST 2014
H. S. Teoh:
> One thing I miss in D is a nice way to allocate structs with a
> variable-length "static" array at the end. GCC supports this,
> probably as an extension (I don't remember if the C standard
> specifies this). I know I can just manually allocate this via
> core.gc and casts, but a built-in solution would be really nice.
Since dmd 2.065 D supports this very well (it was supported in
past too, but a less well). See:
http://rosettacode.org/wiki/Sokoban#Faster_Version
Bye,
bearophile
More information about the Digitalmars-d
mailing list