Issue 24492 - Opt-in support for pointer write barriers
Summary: Opt-in support for pointer write barriers
Status: NEW
Alias: None
Product: D
Classification: Unclassified
Component: dmd (show other issues)
Version: D2
Hardware: x86_64 Linux
: P1 enhancement
Assignee: No Owner
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-09 15:35 UTC by Nick Treleaven
Modified: 2024-04-09 15:39 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Nick Treleaven 2024-04-09 15:35:44 UTC
In Nov 2022, Walter seems to be OK with *opt-in* pointer write barriers:
https://forum.dlang.org/post/tjseq5$sj5$1@digitalmars.com

Adam D. Ruppe:
http://dpldocs.info/this-week-in-d/Blog.Posted_2022_10_31.html#thoughts-on-pointer-barriers

Ate Eskola also posted this idea today:
https://forum.dlang.org/post/dtsdzwydtcjoanbohlps@forum.dlang.org

Write barriers can enable different GC strategies, but the idea is write barriers would not be on by default because they would slow down non-GC code.