Editions: What about Compiler Plugins?

Stefan Koch uplink.coder at googlemail.com
Wed Mar 11 14:14:28 UTC 2026


On Wednesday, 11 March 2026 at 10:12:53 UTC, libxmoc wrote:
> The recent discussions around D Editions and Walter's call to 
> drop legacy features (like -revert=intpromote, complex numbers, 
> or even lazy and alias this (i like alias this `:'(`)) 
> highlight a recurring problem: the D compiler does too much 
> stuff.

I highly doubt that it gets any simpler by factoring language 
semantics into a group of compiler plugins, instead it would make 
it quite hard to figure which plugins work together.
We could have outcomes such as, this d package only compiles if 
certain plugins are enabled.
it would have the same effect as preview switches, maybe there is 
something else to be said though.

What do you think the pros and cons are ?


More information about the Digitalmars-d mailing list