HN Hall of Fame Weekly email

Selfie – Tiny self-compiling C compiler, RISC-V emulator and hypervisor

selfie.cs.uni-salzburg.at Software & code Software projects Computer science Candidate
Screenshot of selfie.cs.uni-salzburg.at captured 2026-07-20
Page preview · captured 2026-07-20

Resurfaced independently across 3 calendar years, with breakout response in 3 of them.

submissions
3
submitters
3
observed span
2017–2023
peak thread · 38 comments
261 pts
latest 20+ return · 2023-01-16
187 pts

Submission timeline

2007–2026

One slot for every year since HN launched. Height is that year's peak points; orange marks a 100+ point or 50+ comment breakout. Select a bar to open its strongest thread.

First comments on top threads

HN comment order

A thread from 2017: https://news.ycombinator.com/item?id=13778353 (Such links are for the curious. Reposts are ok after about a year: https://news.ycombinator.com/newsfaq.html)

dang·261-point thread·

This is a really, really cool project. Some fun quotes: > In fact, selfie goes one step further by implementing microkernel functionality as part of the emulator and a hypervisor that can run as part of the emulator, on top of the emulator, and even on top of itself, all with the same code. > The design of the compiler is inspired by the Oberon compiler of Professor Niklaus Wirth from ETH Zurich. The design of the selfie microkernel is…

From the project’s README [1]: > Selfie is implemented in a single (!) file and kept minimal for simplicity. There is also a simple in-memory linker, a RISC-U disassembler, a garbage collector, L1 instruction and data caches, a profiler, and a debugger with replay as well as minimal operating system support in the form of RISC-V system calls built into the emulator and hypervisor. The garbage collector is conservative and even self-collecting. It may operate as library in the same…

The first top-level comment from each of the four biggest threads, in HN’s own order. Excerpts are shortened; open a comment for full context.

Breakout years
3

100+ points or 50+ comments

Total points
697

reference only — not used in Hall rules or ranking

Total comments
85

reference only — not used in Hall rules or ranking

Every submission

DateTitle as submittedByPointsComments
2017-03-02Selfie: tiny self-compiling C compiler, MIPS emulator and MIPS hypervisorFirst breakoutingve24938
2020-02-26Selfie – Tiny self-compiling C compiler, RISC-V emulator and hypervisorBest threadgiancarlostoro26129
2023-01-16selfie – A tiny RISC-V C compiler, emulator and hypervisorLatest 20+ point returnpeter_d_sherman18718