D Editions

Steven Schveighoffer schveiguy at gmail.com
Sat Jun 1 01:57:14 UTC 2024


On Thursday, 30 May 2024 at 18:31:48 UTC, Atila Neves wrote:
> https://github.com/atilaneves/DIPs/blob/editions/editions.md
>
> Destroy!

Unsaid in this, but something that went into the design decisions 
for which versions are the default -- the compiler switches will 
allow dub to specify a compiler version for an entire package.

I think it's pretty good. I think it should specify in the 
proposal what Jonathan said -- editions are meant to be source 
compatible. That is, all code is expected to be built with the 
same compiler, even if not with the same edition.

It should also be mentioned that only *one* version of druntime 
will be included with each compiler, and it will support all 
editions that compiler supports.

-Steve


More information about the dip.ideas mailing list