Why Phobos is cool

Andy Balba pwplus7 at gmail.com
Mon Aug 10 16:45:44 UTC 2020


On Monday, 29 June 2020 at 19:37:37 UTC, jmh530 wrote:
> On Thursday, 25 June 2020 at 16:20:54 UTC, H. S. Teoh wrote:
>> [...]
>
> BTW, `mir` is not always and everywhere @nogc. It can be mixed 
> with GC code. For instance, the `sliced` function will use the 
> GC to allocate a slice. However, it also has facilities for 
> allocating malloc'ed and referenced-counted slices. However, 
> one design goal is that it can also be used @nogc.

BTW IMNSHO TBH @nogc everything !


More information about the Digitalmars-d mailing list