dual-context deprecation

jmh530 john.michael.hall at gmail.com
Mon May 17 14:46:36 UTC 2021


On Monday, 17 May 2021 at 14:35:51 UTC, Steven Schveighoffer 
wrote:
> [snip]
> The feature is deprecated in its current form. The issue as I 
> understand it (i.e. very little) is that compilers other than 
> DMD could not use this same way to implement dual contexts, and 
> so they could not have the feature. This means that valid code 
> in DMD would not compile on GDC or LDC.
>
> The way forward was to deprecate the mechanism used to 
> implement it for DMD, and at some point tackle it in a 
> backend-agnostic way.
>
> Personally, I don't know why we can't fix it so that it's 
> portable, but I understand so little about compilers that I've 
> pretty much stayed out of it. The feature is very much needed.
>
> -Steve

That's a good summary. Thanks.


More information about the Digitalmars-d-learn mailing list