Garbage Collection for Systems Programmers

ryuukk_ ryuukk.dev at gmail.com
Sun Apr 7 09:41:26 UTC 2024


On Sunday, 7 April 2024 at 06:16:13 UTC, Richard (Rikki) Andrew 
Cattermole wrote:
> On 07/04/2024 7:09 AM, Sebastian Nibisz wrote:
>> On Saturday, 6 April 2024 at 16:49:44 UTC, Richard (Rikki) 
>> Andrew Cattermole wrote:
>>> Modern GC's tend to need write barriers to make them work.
>> 
>> Write barrier can be as cheap as a single atomic write.
>
> *can be*
>
> It would need to call into the GC as the strategy until we know 
> what implementations need.
>
> It must also be noted that dmd-be doesn't support atomics as 
> intrinsics and Walter has been very against adding it, so it 
> would still be a function call.

Don't wait for Walter, you are capable, if you know how to do it, 
submit a PR

I'm pretty sure everyone wants atomics as intrinsics, myself 
included, just do it


More information about the Digitalmars-d mailing list