Submission timeline
2007–2026One 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 orderSubmit more articles like this one and less Web 2.0 gossip please.
Really great article and blog. > You can examine binary images using the nm and objdump commands to display symbols, their addresses, segments, and so on. You can also use my new tool Bloaty McBloatface (https://github.com/google/bloaty). Check out the -v option especially, which will dump a memory map of both the file domain and the VM address domain: $ ./bloaty `which ls` -v -d segments FILE MAP: [0, 19d44] LOAD [RX], LOAD [RX] [19d44, 19df0] [None], [Unmapped] [19df0, 1a5f4] LOAD…
This may not be entirely related, but I've been building an open-source kernel in z80 assembly for three and a half years now: https://github.com/KnightOS/kernel I might chime in with a perspective of someone working on 70s hardware without memory protection, ring modes, or enough RAM to page it around. In my system, all processes run as root (since we can't stop them from doing so on a z80), and share one big memory block. The kernel takes up the first…
All the diagrams that show the stack "above" the heap may be an example of a widespread "UNIX-ism"; and indeed, there are many questions on StackOverflow and the like from semi-confused beginners wondering why they see heap allocations having higher addresses than ones on the stack. In Windows, stacks are usually very low in memory, even below the process image itself (which is normally loaded at 4MB[1]), and heaps are above. Of course, if you have many threads, stack and…
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
- Total points
- 434
- Total comments
- 40
100+ points or 50+ comments
reference only — not used in Hall rules or ranking
reference only — not used in Hall rules or ranking
Every submission
| Date | Title as submitted | By | Points | Comments |
|---|---|---|---|---|
| 2009-01-27 | Anatomy of a Program in MemoryFirst breakout · Best thread | signa11 | 134 | 23 |
| 2013-04-10 | Anatomy of a Program in Memory (2009) | opdemand | 1 | 0 |
| 2013-06-03 | Anatomy of a Program in Memory | chris_wot | 2 | 0 |
| 2014-01-19 | Anatomy of a Program in Memory | rikelmens | 81 | 5 |
| 2015-04-07 | Anatomy of a Program in Memory (2009) | altern8 | 20 | 0 |
| 2015-08-28 | Anatomy of a Program in Memory (2009) | cptwunderlich | 17 | 1 |
| 2016-02-17 | Anatomy of a Program in Memory (2009) | Tomte | 2 | 0 |
| 2016-11-20 | Anatomy of a Program in Memory (2009) | Tomte | 129 | 6 |
| 2021-01-09 | Anatomy of a Program in Memory (2009) | Tomte | 2 | 0 |
| 2021-08-10 | Anatomy of a Program in Memory (2009)Latest 20+ point return | Tomte | 46 | 5 |
