Basic functionality without GC
Don Clugston
dac at nospam.com.au
Thu Sep 28 08:41:37 PDT 2006
Vladimir Kulev wrote:
> Why basic functionality like associative arrays needs GC to be run,
> otherwize cause memory leaks? For example, the code below slowly raise
> memory usage if you don't call std.gc.fullCollect.
>
> Generally, I have the following proposals about phobos organization:
> 1) Make all basic functions working with and without GC enabled.
> 2) Separate phobos runtime from phobos userland functions. Preferably into
> different packages like "phobos." and "std.". Make first to be independent
> from second, even if duplication of some functions is needed.
Ever heard of Ares? I guess not. Check it out at dsource, it does
exactly this.
More information about the Digitalmars-d
mailing list