A language over D
Ziyaad
zsorg34 at gmail.com
Fri Feb 20 12:35:52 UTC 2026
On Thursday, 19 February 2026 at 17:11:15 UTC, Kapendev wrote:
> On Thursday, 19 February 2026 at 13:50:43 UTC, Ziyaad wrote:
>> But soon I came to know that d has a gc and I mistakenly
>> thought that d only have gc and my choice was still zig as
>> backend.
>> But few days earlier I came across D's betterc which was the
>> thing I wanted but it was not over,I found the hidden power...
>
>> I have few questions does I am thinking something wrong and
>> some features of d will be not working in betterc mode also
>> rather than CTFE & scope what are more D's powerful features
>> that I don't know please list me about them
>
> The `-betterC` flag just removes the D runtime . Being able to
> avoid the GC is something you can do with or without it. So
> keep that in mind if you decide to actually use it. It's like
> going to Zig or Odin and removing their standard libraries.
>
> The normal way to avoid the GC in D is to use things like the
> `@nogc nothrow` attributes or the `-vgc` flag. The first is
> more strict and the second depends on you checking.
>
> Check some projects that do avoid the GC. NuMem, NuLib, Joka,
> ...
Thanks for the reply
More information about the Digitalmars-d
mailing list