Goodbye, garbage collector!

Kagamin spam at here.lot
Wed Sep 28 03:47:42 PDT 2011


Gor Gyolchanyan Wrote:

> I have a question about switching to 100% manual memory management.
> I know how it should be done with structs and classes: override the
> new and delete.
> But i don't know how to do it for arrays, associative arrays, stack
> frames for delegates and all other instances of implicit memory
> allocation.
> Is there a way to completely override all memory allocations, so that
> i can use the language to the fullest in performance-critical places?
> 
> Cheers,
> Gor.

allocation is done by druntime, which is opensource, you can rewrite it to anything you want.


More information about the Digitalmars-d mailing list