Editions Ideas
Richard (Rikki) Andrew Cattermole
richard at cattermole.co.nz
Fri Dec 19 17:28:43 UTC 2025
On 20/12/2025 2:30 AM, Guillaume Piolat wrote:
> Monitor
This is not removable with an edition, its library code that'll break D2.
Here is my proposed plan:
Decouple classes in compiler from druntime, allow custom roots.
Decouple the monitor in a root class from Object, so each root class can
provide their own.
Decouple class/interface casting from Object.
Have each interface associate it with a root class.
Swap the root class in an edition. This new root class may not have a
monitor.
These are not in order.
Sadly when I tried getting the first step approved Adam wasn't there and
wasn't able to advocate for synchronized statements being necessary. You
can't just swap them with with statements and have it work out the same
which is not easy to understand.
More information about the Digitalmars-d
mailing list