Blogs / Personal blogs

Amit Prasad

amit.prasad.me

Amit Prasad's personal website and blog.

Popular posts
2
Total points
442
HN comments
239
Rank
#5,971 personal

Visit amit.prasad.me → RSS feedOn Hacker News Oct 2025 – Feb 2026

Software Engineering 2Systems & Performance 1Career & Management 1

1

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.