On Sunday, 3 July 2022 at 08:46:31 UTC, Mike Parker wrote:
You can find the final draft of the high-level goals for the D programming language at the following link:

https://github.com/dlang/vision-document


I also want to reiterate that this is a living document. We will modify the goals as needed as time goes by.

Feedback is welcome.

In the document it is said:

`@nogc` as much as possible.

I think this should be extended to clarify how conversion to `@nogc` will be tackled. IMHO adding proper stable `@nogc` allocators to the stdlib is more important.

When that's done, make sure we can set the allocator for stdlib types and add `@nogc` overloads that take an allocator parameter for non-`@nogc` functions.

We aren't doing no-heap programming after all. If we have a stable allocator interface, replacing GC calls with allocator calls in Phobos shouldn't be too hard.

Reply via email to