What happens before main()?
Details
Hello all! Welcome to our C++ meetup for November.
This time Björn Andersson will deliver a presentation about what actually happens before a program starta executing and the main function is called. This is a re-run of a presentation done at the FOSS North Community day earlier this year.
We are kindly hosted by Nexer this time.
Abstract
Have you ever wondered what happens before the main() function starts running your program? Many programmers assume that a program begins in main, but there's a crucial sequence of steps that leads the processor to that point.
In this talk, we will explore, step-by-step, what happens from the point of the processor being powered on how a freestanding, non-trivial C++ program on an embedded device is being prepared before invoking main(). Examples will be based on an STM32 ARM Cortex-M4 core.
Agenda:
18:00 Doors open
18:30 Introduction from GbgCpp and our host
18:40 Björn Andersson - What happens before main?
20:00 Event over














