Amit Prasad personal blog
The Journey Before main()
A while back, I worked on a RISC-V-based userspace simulator for fun. In doing so, taught myself a lot more than I wanted to know about what happens in-between when the Kernel is asked to run a program, and when the first line of our program’s main function is actually executed. Here’s a summary of that rabbit hole.
- Points
- 316
- HN comments
- 143
- Submissions
- 1
- Cited by
- 0 commenters
Systems & PerformanceSoftware Engineering2025
On Hacker News
| Submitted | Title on HN | Points | Comments |
|---|---|---|---|
| Oct 25, 2025 | The Journey Before main() by amitprasad | 316 | 143 |