[Issue 24492] New: Opt-in support for pointer write barriers

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Apr 9 15:35:44 UTC 2024


https://issues.dlang.org/show_bug.cgi?id=24492

          Issue ID: 24492
           Summary: Opt-in support for pointer write barriers
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: dmd
          Assignee: nobody at puremagic.com
          Reporter: nick at geany.org

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.

--


More information about the Digitalmars-d-bugs mailing list