On Tue, 23 Feb 2016 04:28:14 +0000, mahdi wrote: > A selling point of Rust language is that it "prevents segfaults, > and guarantees thread safety". Is there a library in D language which > provides same features?
D is more for providing safe defaults than for entirely preventing problems. The @safe annotation is intended to provide more guarantees. It allows you to dereference null, but otherwise it prevents memory errors (aside from some outstanding issues around casting to and from void[]).
