Writing an Operating System Kernel From Scratch – Risc-V/opensbi/zig
Posted4 months agoActive4 months ago
popovicu.comTechstory
calmpositive
Debate
20/100
Risc-VOperating SystemZig Programming Language
Key topics
Risc-V
Operating System
Zig Programming Language
The author shares their experience of writing a tiny OS kernel from scratch using RISC-V, OpenSBI, and Zig, sparking a discussion about the novelty of the project.
Snapshot generated from the HN discussion
Discussion Activity
Light discussionFirst comment
N/A
Peak period
2
66-72h
Avg / period
1.5
Key moments
- 01Story posted
Sep 13, 2025 at 8:36 PM EDT
4 months ago
Step 01 - 02First comment
Sep 13, 2025 at 8:36 PM EDT
0s after posting
Step 02 - 03Peak activity
2 comments in 66-72h
Hottest window of the conversation
Step 03 - 04Latest activity
Sep 16, 2025 at 3:49 PM EDT
4 months ago
Step 04
Generating AI Summary...
Analyzing up to 500 comments to identify key contributors and discussion patterns
ID: 45236479Type: storyLast synced: 11/20/2025, 3:29:00 PM
Want the full context?
Jump to the original sources
Read the primary article or dive into the live Hacker News thread when you're ready.
This one by the original author was submitted earlier but got no engagement, and is now back with falsified timestamps because of the "second chance pool".
It's definitely very rough around the edges, and it's more of an experiment and an intro for people who want to go through step 0 of learning OS kernel development and computer architecture. Nevertheless, I hope it is still a fun experimental thing to play with over the weekend!
The full walkthrough and the GitHub link are available at the link posted!