Hacker News new | ask | show | jobs
by sitkack 1296 days ago
This is a full system simulator with an emulated RISC-V CPU in under a 1000 lines of clean C, in two files, so you can include it basically any program (STB style FTW).
1 comments

I mean, any program can include any program, why go to the extra layer of doing it inefficiently?
It allows you to run it in a protected environment. Think scripting languages.