On Wed, 16 Nov 2011 22:59:35 +0100, Somedude wrote: > Given that D boasts that you can choose to *not* use the GC, shouldn't > Phobos strive to resort to manual memory management ? > > I supposed this has already been discussed, but just in case I missed > the discussion, could someone give a link to it ?
I don't know any links off hand, but it has been concluded with a couple points. - When you have small limited memory, then custom containers and algorithms would be created for the task at hand. - When performance is needed, allocating upfront is what's needed. - The compiler, I believe confirmed by Walter, will have a switch which warns/errors when using GC expecting features. - Phobos can be extended to make manual management easier. So we just need some people to pick up the last two and create some pull requests.
