Smart pointers instead of GC?

Dicebot public at dicebot.lv
Tue Feb 4 05:18:50 PST 2014


There is a lot of discussion ongoing about ARC vs GC but in 
practice forcing either of those is unacceptable. Language that 
is strongly coupled with hard-coded memory model will inevitably 
fail in some domain.

For me perfect solution would have been to use an allocator 
concept as language basis instead and let you chose any 
conformant allocator for built-in language features. With both GC 
and ARC available in Phobos / druntime.

Bottom-Up design is simply superior to Top-Down when it comes to 
tools.


More information about the Digitalmars-d mailing list