Future of memory management in D
H. S. Teoh
hsteoh at quickfur.ath.cx
Wed Nov 17 00:55:33 UTC 2021
On Wed, Nov 17, 2021 at 12:46:25AM +0000, zjh via Digitalmars-d wrote:
[...]
> GC should be an option,not enforce on you.
IIRC the current GC doesn't even initialize itself on program startup
until you make your first GC allocation. So if main() is @nogc, you can
pretty much already write an entire application without the GC starting
up at all.
T
--
Long, long ago, the ancient Chinese invented a device that lets them see through walls. It was called the "window".
More information about the Digitalmars-d
mailing list