On Tuesday, 26 January 2016 at 21:52:32 UTC, Ola Fosheim Grøstad wrote:
On Tuesday, 26 January 2016 at 21:49:16 UTC, Mathias Lang wrote:
2016-01-26 22:15 GMT+01:00 rsw0x via Digitalmars-d < digitalmars-d@puremagic.com>:

In any case where you attempt to write code in D that is equal in performance to C++, you must avoid the GC.


No.
There are many places when performances could be optimized. The GC surely can be improved, but avoid it is no silver bullet, and I even doubt it has
the most time spend / speedup ratio.

It is a silver bullet if you have:

1. latency requirements
2. memory consumption requirements
3. interfacing FFI requirements
...

4. multithreaded allocations because the entire thing is wrapped in a mutex

Reply via email to