D Article: Memory Safety

Basile B. via Digitalmars-d-announce digitalmars-d-announce at puremagic.com
Wed Jan 20 20:59:01 PST 2016


On Wednesday, 20 January 2016 at 14:04:53 UTC, Jakob Ovrum wrote:
> The article aims to explain how to use @safe, @system and 
> importantly, @trusted, including all the hairy details of 
> templates.
>
> https://jakobovrum.github.io/d/2016/01/20/memory-safety.html
>
> Any and all feedback appreciated.

Good work. Someone has to re-edit-it if not yet reeddited.

Altgough one thing, attributes are not the easy part of D. I've 
recently encountered a case were in the library attributes were 
allright, test OK, and then suddently when I've started to use 
the library in a real life context I had to remove them from the 
library... at safe was unsustainable.

Dealing with attributes is the hardest part of D IMO.
No one is forced to btw, there are plenty of other cool things in 
D but to follow the D safety is hard...

congrats nice article.



More information about the Digitalmars-d-announce mailing list