Editions Ideas
Dukc
ajieskola at gmail.com
Mon Dec 15 21:30:18 UTC 2025
On Friday, 12 December 2025 at 23:05:27 UTC, Walter Bright wrote:
> Now that Editions have been implemented (thanks Atila, Dennis,
> and Rikki) it's time to solicit D features to be dropped from
> the next Edition of D.
- Pretty much what is deprecated right now.
- Maybe C-style alias declarations. The parser will still have
to recognise them as it can't know which edition the file has but
still.
- `@system` by default, if you can come to an agreement in the
foundation meetings what scheme will follow.
- `@safe` external functions that don't have a D linkage (they
would have to be designated `@trusted` instead).
- All `finally` blocks, and by extension `scope(failure)` and
destructors running when catching non-`Exception` Throwables. The
problem is that if a `nothrow` functions throws one, the finally
block might or might not run. If non-exception throwables would
be intercepted only with an explicit catch block for one, there
would be no implementation defined behaviour yet we still could
have the `nothrow`-based optimisations.
More information about the Digitalmars-d
mailing list