News for hackers. Stuff that matters.
Re:A Closer Look at Android RunTime in Android L by dbaupp on Monday November 10, 2014 @07:23AM (#8583135)
> Modern C++ favors RC.

Does it? I was under the impression that the order of preference (from most preferred to least) is something like:

  - plain values (i.e. no pointers)
  - references
  - unique_ptr
  - shared_ptr
  - raw pointers
Re:A Closer Look at Android RunTime in Android L by pjmlp on Monday November 10, 2014 @07:52AM (#8583233)
Raw pointers is the last item on your list after RC pointers.
Re:A Closer Look at Android RunTime in Android L by dbaupp on Monday November 10, 2014 @08:33AM (#8583373)
From this response, I guess that maybe you were meaning C++ favours RC compared to manual memory management, and were not saying that it is the globally preferred option, but this differs to everything else in your list: the others are the main/preferred strategy in those languages/libraries.
Re:A Closer Look at Android RunTime in Android L by pjmlp on Monday November 10, 2014 @10:25AM (#8583984)
> I guess that maybe you were meaning C++ favours RC compared to manual memory management,

Yes.

> the others are the main/preferred strategy in those languages/libraries.

While true, manual memory management is still possible, but should be left for the 1% cases that really benefit from it.