Why do you continue to use D?

12345swordy alexanderheistermann at gmail.com
Mon Jun 8 18:14:59 UTC 2020


On Monday, 8 June 2020 at 06:51:59 UTC, Manu wrote:
> On Sat, Jun 6, 2020 at 11:21 PM H. S. Teoh via Digitalmars-d < 
> digitalmars-d at puremagic.com> wrote:
>
>> On Sat, Jun 06, 2020 at 01:11:46PM +0000, matheus via 
>> Digitalmars-d wrote:
>> > [...]
>>
>> Wasn't Manu one of the people who pushed for @nogc and 
>> eventually got it in?
>>
>
> Yes, @nogc is totally my meddling, and it's a very valuable 
> tool! If only we could get a robust ARC solution over the 
> line... ;)
>
> Outside the realtime code though, GC can be useful. It's not 
> bad the language has GC, but it would be nice if @nogc existed 
> much earlier so there was a better culture of writing libraries 
> to support it. Most libraries I've written recently work with 
> or without GC.

To bad that @nogc is useless when it comes to manual memory 
management when it comes to classes as it doesn't work well at 
all with the class deconstructor.

-Alex


More information about the Digitalmars-d mailing list