On Sunday, 17 August 2025 at 01:44:38 UTC, Monkyyy wrote:
On Sunday, 17 August 2025 at 01:19:41 UTC, Brother Bill wrote:
Merely pointing to an invalid address will not produce UB (undefined behavior)

I linked you to the gc #wontfix list, it's explicitly the magic words "UB".

Idk what's actually happens(ub isn't a useful distinction), someone would have to extensively test it, but it's expressly not "do whatever" someone must've tried the xor linked list and found it doesn't work in some case.

An invalid pointer outside common use patterns could confuse the GC and some invalid pointers are *known* to confuse the GC(they should've keep the code rather then their wontfix list *tsk*)

Understood.  Wild garbage pointers will confuse the GC.
Will a pointer just after a slice confuse the GC, or is the GC expecting this case?
          • ... H. S. Teoh via Digitalmars-d-learn
          • ... Brother Bill via Digitalmars-d-learn
            • ... Richard (Rikki) Andrew Cattermole via Digitalmars-d-learn
              • ... Brother Bill via Digitalmars-d-learn
              • ... Richard (Rikki) Andrew Cattermole via Digitalmars-d-learn
              • ... monkyyy via Digitalmars-d-learn
              • ... 0xEAB via Digitalmars-d-learn
              • ... 0xEAB via Digitalmars-d-learn
              • ... Brother Bill via Digitalmars-d-learn
              • ... Monkyyy via Digitalmars-d-learn
              • ... Brother Bill via Digitalmars-d-learn
              • ... Monkyyy via Digitalmars-d-learn
            • ... Monkyyy via Digitalmars-d-learn
            • ... Ali Çehreli via Digitalmars-d-learn
              • ... Richard (Rikki) Andrew Cattermole via Digitalmars-d-learn
              • ... Monkyyy via Digitalmars-d-learn
  • Re: Pointers - I... Monkyyy via Digitalmars-d-learn
  • Re: Pointers - I... Paul Backus via Digitalmars-d-learn

Reply via email to