2 ms·
Well, theoretically, you have two choices: * Use the garbage collector. * Don't use the garbage collector. I'd expect most users to choose option (2), however
by scross 12y ago
Well, theoretically, you have two choices:
* Use the garbage collector.
* Don't use the garbage collector.
I'd expect most users to choose option (2), however the idea is to support garbage collection for those users who find it to be worthwhile.
I say this choice is theoretical because the current implementation doesn't yet have a garbage collector (this is not a high priority task); ultimately I want to provide a second implementation of std.memory that supports garbage collection and when users build their project they can choose whether they want the garbage collected implementation.