Sharing in D
bearophile
bearophileHUGS at lycos.com
Thu Jul 31 19:06:11 PDT 2008
Sean Kelly:
> All that said, I believe it's entirely possible to write performance-critical code in D so long as the
> programmer is careful about memory allocation.
I agree, in many D programs I have found that avoiding memory allocations can speed up the code 5-15 times. You can see the last time I have seen that in this thread:
http://groups.google.com/group/comp.lang.python/browse_thread/thread/e291275df01756c6#
But Java HotSpot shows that a good GC can make fast enough many programs that allocate memory often (but they often need 4-10 times more RAM).
Bye,
bearophile
More information about the Digitalmars-d
mailing list