embed embed share link link comment comment

Embed This Video close
Share This Video close
bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark
embed test
Rate This Video embed
1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...
Tags For This Video tags
rate rate tags tags related related lights lights

Deterministic Garbage Collection

Speaker:

Mike Naquin

Abstract:

C++ has a bad reputation for leaking memory. While it is true many C++ programs leak memory, this is not due to the lack of support in the language–especially in C++ 11! Many languages depend up on non-deterministic garbage collection to avoid leaks. C++ on the other hand provides the, often misunderstood, RAII pattern to deterministically eliminate leaks at their source. The beautiful thing is that the RAII pattern protects not only against memory leaks, but also against resource leaks as well! In fact most languages are adopting features designed to mimic RAII to help combat their resource leaks. We will begin with an overview of RAII and its use throughout the C++ libraries. Then we will delve into how C++ 11 has provided a complete set of tools to easily avoid all leaks. Come see why in C++ 11 we never say delete, and–more surprisingly–we even never say new!

Bio:

Recorded At:

DFW C++ User Group

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>