Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
WalterBright
on April 7, 2017
|
parent
|
context
|
favorite
| on:
The reference D compiler is now open source
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".
dbaupp
on April 8, 2017
[–]
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?
leshow
on April 8, 2017
|
parent
[–]
It has a GC, I think.
Join us for
AI Startup School
this June 16-17 in San Francisco!
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
There's no notion of "borrowing" in D nor any notion of "only one mutable access at a time".