core.stdc.stdatomic

Walter Bright newshound2 at digitalmars.com
Tue Nov 14 19:00:18 UTC 2023


On 11/14/2023 12:51 AM, Richard (Rikki) Andrew Cattermole wrote:
> Question: Why do people want another wrapper around some inline assembly that 
> already exists in core.atomic?

Because they have existing carefully crafted code in C and want to translate it 
to D.


> Writing a wrapper around stdatomic.h would take probably 2 hours.

Great! That saves each stdatomic C user 2 hours who wants to get their code in D.



More information about the Digitalmars-d mailing list