News for hackers. Stuff that matters.
Re:Memory Safety in a Modern System Programming Language Pt. 1 by languageserver on Wednesday June 22, 2022 @04:03PM (#31841168)
> This compiles and is fully memory safe, despite dereferencing those pointers in the same completely unchecked way they are dereferenced in C. This is memory safe because @safe D does not allow creating an int* that points to unallocated memory areas, or to a float*, for instance

Who on Earth wrote this? This is not at all true.

Re:Memory Safety in a Modern System Programming Language Pt. 1 by dukc on Wednesday June 22, 2022 @05:25PM (#31842058)
I wrote it. Where's the problem precisely? I don't see it.
Re:Memory Safety in a Modern System Programming Language Pt. 1 by mhh__ on Wednesday June 22, 2022 @04:37PM (#31841569)
Isn't supposed to anyway...

Example?