Rust style memory management

Freddy via Digitalmars-d digitalmars-d at puremagic.com
Sat Sep 12 13:17:02 PDT 2015


So I saw this video: 
https://air.mozilla.org/guaranteeing-memory-safety-in-rust/ and 
was amazed. Is there any way we can implement this in D? What 
language extensions would be required?

My idea on implement this would be to add 3 new pointer (and 
array) types : [owned,shared immutable,borrow mutable] and depend 
on casting raw pointers to the new types.

Thoughts?


More information about the Digitalmars-d mailing list