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

SubmittedTitle on HNPointsComments
Oct 25, 2025The Journey Before main() by amitprasad316143

More from Amit Prasad

All 2 posts →

Related posts from the same era