What remains to be done for D2?

Mafi mafi at example.org
Wed Jun 15 02:58:35 PDT 2011


Am 15.06.2011 02:12, schrieb Petr Janda:
>>> Overhaul std.container to use it; add classic containers to
> std.container (doubly-linked list, hash, deque)
>
> Hi Andrei,
>
> I think it would be fantastic if D could have most, if not all of
> the C++ containers, so that D also has containers that do not rely
> on garbage collection. I believe I read somewhere that D arrays rely
> on the GC which may not be desirable in certain situations (OS
> programming etc).
>
> Can you let me know what you think as you are seemingly the chief
> Phobos developer.
>
> Thank you,
> Petr Janda

The core of D's arrays don't rely on an GC. You can malloc, slice the 
pointer and free it again.
Only concatening and appending use the GC, everything else should work 
without a GC.

Mafi


More information about the Digitalmars-d mailing list