D Editions

Timon Gehr timon.gehr at gmx.ch
Sat Jun 1 21:14:38 UTC 2024


On 5/30/24 20:31, Atila Neves wrote:
> https://github.com/atilaneves/DIPs/blob/editions/editions.md
> 
> Destroy
- How do you compile different modules with different editions on the 
same command line?

- How would a library expose different interfaces to importers that use 
different editions? (This may be required because different editions 
allow different interface designs and guarantees, or have a different 
user-accessible druntime interface and e.g. druntime types are in the 
library API.)

- How does a newer edition with less `@safe` bugs treat `@safe` code 
from an older edition that has more memory safety holes?

- How do function interfaces work when some type annotations exist in 
only either the language edition of the caller or the language edition 
of the callee? E.g. think DIP1000 is in one edition but not in another.


More information about the dip.ideas mailing list