Rust style memory management

Adam D. Ruppe via Digitalmars-d digitalmars-d at puremagic.com
Sat Sep 12 13:33:37 PDT 2015


Try using the -dip25 switch to dmd, it does one more step in D 
toward making a borrow thingy. Nowhere near the level Rust does 
it, but combined with other library things like destructors, 
prohibiting copying, etc., it can kinda make a owned thing with 
borrowed bits.


More information about the Digitalmars-d mailing list