Re:GC Tuning Confessions of a Performance Engineer
by banachtarski on Friday May 29, 2015 @03:14PM
(#9626659)
Agreed. Sometimes, you don't even need RAII. You just let the stack unwind :)
But yes, RAII can make it pretty braindead (which is good)
Re:GC Tuning Confessions of a Performance Engineer
by PopeOfNope on Saturday May 30, 2015 @06:08PM
(#9631941)
Do you have any book suggestions for learning modern C++ memory management techniques? I'm beginning to think maybe it's time to fill that gap in my programming knowledge.
Re:GC Tuning Confessions of a Performance Engineer
by banachtarski on Sunday May 31, 2015 @02:29AM
(#9633292)
Hmm, modern C++ memory management is not entirely different from before. You have std::unique_ptr which is a game changer. I recommend just learning the language itself well. The C++ Primer (latest edition) plus Effective Modern C++ would be a good start. Also, read that doc floating around about everything a programmer needs to know about memory.
Re:GC Tuning Confessions of a Performance Engineer
by TheLoneWolfling on Friday May 29, 2015 @04:32PM
(#9627138)
Or arena allocation - which, by the way, is something I wish was more supported in mainstream languages
I'm not necessarily arguing this is a great way to go for a new team, but there are manual memory management strategies that can definitely scale. Among other things, it's not the only type of resource that needs managing, and GC only handles memory.