Loading…
This event has ended. View the official site or create your own event → Check it out
This event has ended. Create your own
Please visit the C++Now website.
View analytic
Friday, May 16 • 2:30pm - 4:00pm
Lifetime and Usage of Global, Thread-local, and Static Data

Log in to save this to your schedule and see who's attending!

C has the facility to declare data, both initialized and uninitialized, that is available to whole programs. C++ extends this with the ability to create global and thread-local objects. As with all objects, global and thread-local objects are constructed at the beginning of their lifetimes and destructed at the end.

This talk will cover what the C++11 standard guarantees concerning global, static, and thread-local object lifetimes.  It will then cover what compilers actually do.  How to use global data for complex initialization will be discussed.  Patterns for dealing with global data and how to minimize global data will also be discussed.

Speakers
avatar for Daniel Dilts

Daniel Dilts

Firmware Engineer, GE
Daniel Dilts currently works as a Firmware Engineer at General Electric.  His interests range from hardware to software and everything in-between, as evidenced by his BS in Mechanical Engineering obtained at BYU, followed by his later position as a Software Engineer at GE.  Daniel is generally considered to be either insane or a glutton for punishment, as he has been known to program "just for fun."


Friday May 16, 2014 2:30pm - 4:00pm
Flug

Attendees (31)