Windows experience is atrocious

harakim harakim at gmail.com
Tue Jul 25 15:14:26 UTC 2023


On Tuesday, 25 July 2023 at 12:59:48 UTC, jmh530 wrote:
> What if instead you paired that with something like the LTS 
> ideas floating around. So the D equivalent of something like 
> `-std=c++20`. One of the operational difficulties with the LTS 
> idea is that you can just call some version of DMD the LTS, but 
> that doesn't get you bug fixes from newer versions that you 
> might want. You need people to actually implement them. 
> However, if the LTS version is kept within the main compiler as 
> a switch, then it is a little bit easier to keep it up to date 
> with bug fixes.

That's interesting. So basically the main compiler would be able 
to compile two versions: the current version and the LTS. That 
seems like it simplifies a lot of the issues. Then it would just 
be a matter of how to detect which of the two versions the code 
would build with, which I think is achievable, even as simple as 
specifying in the dub json/sdl file.

So then the only problem left is how you go from one LTS to 
another. A guide would work, and the compiler could even spit out 
a link since it knows what version you are on and what version 
you are targeting. However, if the LTS versions are frequent, I 
think a tool would be better. Or maybe you just keep multiple 
versions around and compile using the old LTS version of the 
compiler.


More information about the Digitalmars-d mailing list