DIP 1024---Shared Atomics---Final Review

IGotD- nise at nise.com
Tue Dec 10 15:55:40 UTC 2019


On Tuesday, 10 December 2019 at 15:26:02 UTC, Simen Kjærås wrote:
>
> There's nothing stopping you from implementing your own 
> primitives for manipulating shared data in betterC - 
> core.atomic is only mentioned because it's the standard library 
> way to do it.
>
> --
>   Simen

This is a problem with that OS dependent libraries aren't 
separated from OS independent libraries. In the future the atomic 
library should be in an OS independent part of the core library 
while those that depends on an underlying OS should be in their 
own. In all we need a finer granularity of the standard library 
depending on what the library depends on. Future DIP needed for 
this.




More information about the Digitalmars-d mailing list