Code to show

bearophile bearophileHUGS at lycos.com
Wed Mar 5 16:46:00 PST 2008


Bill Baxter:
> Sorry I didn't read your post in detail, but if think C-like behavior is 
> easier, then why don't you just use 
> std.c.stdlib.{malloc,calloc,alloca,realloc,free} ?

You may want to read my post :-)
If you create a data structure you may want to mix GC-managed things with data structures allocated manually. This leads to things I don't understand yet (until someone explains me, or I just read the whole code of the Phobos GC).

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list