Unused druntime code: Barrier, ReadWriteMutex, Condition

Denis Feklushkin feklushkin.denis at gmail.com
Tue Jun 16 10:32:27 UTC 2026


On Tuesday, 16 June 2026 at 08:23:11 UTC, Richard (Rikki) Andrew 
Cattermole wrote:

> Druntime cannot import phobos.
>
> Phobos depends upon druntime.
>
> Binary loading is acyclic, not cyclic.

By the way, this is off-topic, I have one more suggestion on this 
matter sounding like:
"druntime cannot import core.stdc"

I.e., core.stdc shouldn't be necessary.

Let the druntime use these functions through wrapper functions. 
There will be only about 10 of them in total, I think: 
malloc/free, some sync methods...

This will solve 95% of porting issues to any system


More information about the Digitalmars-d mailing list