Frameworks and libraries
bachmeier
no at spam.net
Fri Sep 15 17:55:49 UTC 2023
On Friday, 15 September 2023 at 16:40:38 UTC, monkyyy wrote:
> a language includes its std and there's no alternative for std:
> string, algorithm, range to be nogc'ed with a nice easy-to-grab
> data structure. A betterc project is just going to be segmented
> from the rest of d and be a very different project.
>
> If d were to start adding data structures to the std and 1 or 2
> of them happened to work ok with betterc; maybe my answer would
> change. But I really really do mean that d has one data
> structure of note, the built-in dynamic array, and adding more
> is obviously not a priority(despite that being insane).
betterC and @nogc are rather different. You don't have, and
should not want, a GC in betterC code. @nogc is useful in the
context of a regular D program that has places you want to
guarantee the GC won't run. betterC code is perfectly fine to add
to a regular D project. I do that with Mir.
More information about the Digitalmars-d
mailing list