Attending this event?
CppNorth 2024, The Canadian C++ Conference
July 21-24, 2024 • Toronto, Canada
At the Microsoft Canadian Headquarters (Suite 4400)
In: CIBC SQUARE, 81 Bay St., Toronto, ON M5J 0E7, Canada
Monday July 22, 2024 14:15 - 15:15 EDT
Static initialization is utilized to ensure that values are constructed before main(), making them available for use immediately and allowing important prerequisites to be established. However, the initialization of these values is more complex than it first appears. Statically linked or dynamically loaded libraries also need their own dependencies, global variables, and lifetime management making the picture more complex when we use other people’s code this way.

In this session, we will explore how applications and libraries handle initialization and discuss methods for building safe initialization mechanisms in our libraries. Whether you develop and distribute code as a library or SDK, or you are simply curious about how application initialization happens, this session is for you.
avatar for Ashley Roll

Ashley Roll

Ashley has 30 years of experience as a software engineer and architect in Brisbane, Australia. He has worked in large and small projects spanning web applications, desktop applications, business systems as well as embedded hardware and firmware.
Monday July 22, 2024 14:15 - 15:15 EDT
Track B

Sign up or log in to save this to your schedule, view media, leave feedback and see who's attending!

Share Modal

Share this link via

Or copy link