News for hackers. Stuff that matters.
Re:Facebook puts bounties on bugs in the D programming langu... by yuushi on Saturday November 16, 2013 @02:39AM (#6744080)
It shouldn't be the standard way of managing memory; it should be a part of the toolkit. In order, it should look like:

1) Stack allocation 2) std::unique_ptr 3) std::shared_ptr

You should be properly thinking about onwership semantics, and unique_ptr should be the default, not shared_ptr.

There are no comments on this comment yet.