HN Hall of Fame Weekly email

Linux x86 program start up – How the heck do we get to main()? (2011)

dbp-consulting.com Books & learning Tutorials & guides Computer science Candidate
Screenshot of dbp-consulting.com captured 2026-07-20
Page preview · captured 2026-07-20

Resurfaced independently across 6 calendar years, with breakout response in 2 of them.

submissions
6
submitters
6
observed span
2014–2023
peak thread · 30 comments
187 pts
latest 20+ return · 2021-11-04
187 pts

Submission timeline

2007–2026

One slot for every year since HN launched. Height is that year's peak points; orange marks a 100+ point or 50+ comment breakout. Select a bar to open its strongest thread.

First comments on top threads

HN comment order

One past thread: Linux x86 Program Start Up - https://news.ycombinator.com/item?id=8739661 - Dec 2014 (30 comments)

dang·187-point thread·

Coming from DOS/Windows the amount of... extra cruft that gets linked into a Linux binary by default seems rather excessive. The equivalent startup code in Windows for a C program doesn't involve constructors or destructors, for one thing. From the entry point, there's a total of ~7 functions called in the default stub - most of them for parsing the environment variables and creating argc/argv, and for programs that don't need that it's quite easy to eliminate those too. (The…

The first top-level comment from each of the four biggest threads, in HN’s own order. Excerpts are shortened; open a comment for full context.

Breakout years
2

100+ points or 50+ comments

Total points
349

reference only — not used in Hall rules or ranking

Total comments
51

reference only — not used in Hall rules or ranking

Every submission

DateTitle as submittedByPointsComments
2014-12-12Linux x86 Program Start UpFirst breakoutbluetomcat14330
2017-03-25Linux X86 Program Start Upezcode90
2018-11-05Linux x86 Program Start Up or – How the heck do we get to main()?jrepinc10
2019-02-18Linux x86 Program Start UpJonhoo20
2021-11-04Linux x86 program start up – How the heck do we get to main()? (2011)Best thread · Latest 20+ point returnrwmj18721
2023-06-14Linux x86 Program Start Up – How do we get to main()?lrsjng70