cksystemsteaching/selfie resource
An educational software system of a tiny self-compiling C compiler, a tiny self-executing RISC-V emulator, and a tiny self-hosting RISC-V hypervisor. observed · 2026-08-28
Health v2 · maintenance only
66/100
- Activity 96
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4018
- days_rel: n/a
- days_push: 25
- n_releases_24m: 0
Adoption not part of the score
2519 stars · 355 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Selfie is an educational 12KLOC single-file C implementation of a self-compiling C compiler (starc), a self-executing RISC-V emulator (mipster), and a self-hosting RISC-V hypervisor (hypster). It is designed for teaching undergraduate and graduate students the design of compilers, operating systems, and virtual machine monitors.
Use cases
- teach compiler construction to students
- learn how a RISC-V emulator works
- study hypervisor and virtual machine monitor design
- explore self-compiling and self-hosting systems code
- run tiny C programs on RISC-V in a classroom setting
- learn systems programming with a minimal codebase
When to choose
- teaching or learning compilers, emulators, or hypervisors from a small readable codebase
- you want a minimal educational RISC-V toolchain
- you need a self-contained system for a computer science course
When to avoid
- you need a production-grade compiler or RISC-V toolchain
- you require full C language support or high performance
- you need a general-purpose emulator for real-world software
Facets
learning-resource · maturity active
compiler interpreter simulation education compilers operating-systems programming-languages windows cross-platform cli risc-v teaching hypervisor emulator self-compiling-compiler systems-programming c-star education virtual-machine computer-science linux macos
2 sources
- readme: https://github.com/cksystemsteaching/selfie · fetched 2026-08-28 · 726c233a1967
- homepage: http://selfie.cs.uni-salzburg.at · fetched 2026-08-29 · ab4981c77534
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| cksystemsteaching/selfie | main | 66 |
For agents
markdown · JSON · MCP: product_card(name="cksystemsteaching/selfie")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem