Discussion Thread: DIP 1042--ProtoObject--Community Review Round 1

Ola Fosheim Grøstad ola.fosheim.grostad at gmail.com
Tue Jan 11 16:40:16 UTC 2022


On Tuesday, 11 January 2022 at 15:18:00 UTC, Adam D Ruppe wrote:
> 1) Leave things the way they are.

It should be possible for an improved compiler backend to remove 
the mutex if it is never used. In many cases it will be fairly 
easy to deduce.

Monitors are actually the easiest concurrency primitive for 
newbies to deal with, so getting rid of it as an optimization 
might be a good solution.

But it requires a strategy of making the compiler more modern.



More information about the Digitalmars-d mailing list