GCs in the news

bearophile via Digitalmars-d digitalmars-d at puremagic.com
Thu Jul 17 11:28:52 PDT 2014


H. S. Teoh:

> I don't think it will affect existing code (esp. given Walter's 
> stance on breaking changes!).

Making various parts of Phobos GC-free doesn't mean that nothing 
GC-allocates, it means that Phobos will offer means to use memory 
provided by the user. There are many situations where using a GC 
is OK, so both kinds of usages should be supported by Phobos. It 
should contain nothrow @nogc functions to format and to convert 
to number and strings. It's a matter of offering choice.

Bye,
bearophile


More information about the Digitalmars-d mailing list