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 orderIf you want to see a pretty complete shell in a higher level language (Python, 11K lines of code), check out: https://github.com/oilshell/oil/ And a blog here: http://www.oilshell.org/ (index: http://www.oilshell.org/blog/2016/11/20.html) This article is good in that it shows that starting processes boils down to the system calls fork(), exec(), wait(), etc. My shell has function calls, loops, conditionals, pipelines, subshells, command substitution, redirects, here docs, etc. (The code has some messiness, but the…
For anybody who's wondering why I chose to post this: I found this while Googling around trying to answer the question "how hard is it to write a custom shell, and how would you get started?" The reason I wanted to know that is this: I've always been intrigued by the idea of making "things" ( hand-waving around the details of what that means) available via ssh. Imagine something like a MUD, except not a MUD exactly. Just the idea…
Honestly this was one of the most influential pieces of writing I've ever read. Back in the day this opened up a lot of the implementation details on interpreters and C for me. It quite literally helped "get" how programs are designed and written. I found this piece around eighth grade and I'm very glad I did! :-)
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
- 3
- Total points
- 876
- Total comments
- 164
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 |
|---|---|---|---|---|
| 2016-12-06 | Write a Shell in C (2015)First breakout · Best thread | pvsukale3 | 379 | 68 |
| 2018-03-07 | Write a Shell in C | jxub | 3 | 0 |
| 2020-09-17 | Write a Shell in C (2015) | xanthine | 3 | 0 |
| 2021-02-13 | Write a Shell in C | mindcrime | 276 | 80 |
| 2022-08-06 | Tutorial – Write a Shell in CHall induction | memorable | 3 | 0 |
| 2022-09-28 | Tutorial – Write a Shell in C (2015) | nivethan | 3 | 0 |
| 2023-11-12 | Write a Shell in C (2015) | mdwalters | 4 | 0 |
| 2024-12-26 | Write a Shell in C (2015)Latest 20+ point return | sebg | 205 | 16 |
