New

The latest blog posts to take off on Hacker News. 21,817 posts.

Software Engineering
Any year
1760

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.