Re:What happens before main() is executed in C and why is it...
by usr1106 on Saturday May 05, 2018 @12:25AM
(#17000300)
A couple of years ago there was a conference presentation (FOSDEM?) about what a program does before reaching main(). The presenter (a Brit IIRC) went pretty fast, did not go into too much detail and it took him 30-40 minutes. I think the study was done on a BSD. Maybe somebody can provide a link, the video is online, but Google resists to help me...
[ Parent
| on HN ]
Re:What happens before main() is executed in C and why is it...
by sedachv on Saturday May 05, 2018 @10:21PM
(#17004960)
That sounds like Brooks Davis' talk that he has given at a few conferences:
https://www.youtube.com/watch?v=yWCMy5EiNkQ https://people.freebsd.org/~brooks/talks/eurobsdcon2016-hell...
Re:What happens before main() is executed in C and why is it...
by usr1106 on Sunday May 06, 2018 @02:30AM
(#17005486)
Exactly! The name of the speaker helps to find what I was looking for https://mirrors.dotsrc.org/fosdem/2017/Janson/hello_world.vp...