Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Memory safety in D is the usual definition - making memory corruption impossible.

There's no notion of "borrowing" in D nor any notion of "only one mutable access at a time".



By not having borrowing, do you mean the compiler doesn't stop one from mutating something that has a dependent scoped pointer pointing into it? How does D avoid dangling pointers for that?


It has a GC, I think.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: