3 ms·
When I see things like that, I can't help but think that if you want performance, you've gotta go C. Otherwise, you get stuff like this, that's just impossible
by tdees40 12y ago
When I see things like that, I can't help but think that if you want performance, you've gotta go C.
Otherwise, you get stuff like this, that's just impossible to reason about.
- WalterBright 12y agoYou can write D programs that only do C style malloc/free, or even do Fortran style no allocation whatsoever (static and stack only).
- tachyonbeam 12y agoIt is unfortunately difficult to reason about. For instance, I use D's associative arrays in my program. I know that dynamic allocations must occur inside this, but I don't know what algorithm is being used and how it allocates memory.
- deleted 12y ago[deleted]
- qznc 12y agoThe nice thing with D: Use a GC to develop quickly. If GC becomes a bottleneck, rewrite into C style where necessary. The author considers this too much work for the benefit. Nevertheless, everybody agrees that the D GC needs to improve.