Re: UTF-8 char and write(f)ln

2025-03-07 Thread Vindex9 via Digitalmars-d-learn
On Wednesday, 5 March 2025 at 21:26:32 UTC, Ali Çehreli wrote: They probably keep state for Unicode characters but don't reset it. (I don't know whether they are required to.) Further experiments showed inconsistent behavior. The oddities are well reproduced with the terminal plugin for neovim

Re: What are the pointer aliasing rules in D?

2025-03-07 Thread Inkrementator via Digitalmars-d-learn
On Thursday, 6 March 2025 at 10:46:20 UTC, tmp wrote: Do the same rules exist in D? If they do, do workarounds exist? LDC and GDC offer nonstandard extensions to enable optimizations regarding non-aliasing pointers with the @restrict https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gdc/Common-Attr