DIP 1024---Shared Atomics---Final Review
rikki cattermole
rikki at cattermole.co.nz
Wed Dec 11 04:45:41 UTC 2019
On 11/12/2019 4:55 AM, IGotD- wrote:
> 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.
As far as I know core.atomic is the only module in druntime that will
operate without druntime.
(There is a few random functions that are not templated, but that I'm
pretty sure is just an oversight).
I'm not including bindings in this description as it doesn't include any
logic.
More information about the Digitalmars-d
mailing list