# chyyuu/os_kernel_lab

OS kernel labs based on Rust/C Lang & RISC-V 64/X86-32

Repository: https://github.com/chyyuu/os_kernel_lab
Canonical: https://ross.abutalabs.com/products/os_kernel_lab
Homepage: https://rcore-os.github.io/rCore-Tutorial-Book-v3/index.html
Language: Rust
License: GPL-3.0
License Family: copyleft
Topics: kernel, lab, os, rust, risc-v
Last push: 2023-01-27T03:05:28+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 5125, "days_push": 1314, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 4047, forks 1886 (observed 2026-08-28T04:08:33.760963+00:00)

## What it is
rCore-Tutorial-v3 is a set of educational OS kernel labs that teach how to build a Unix-like operating system from scratch in Rust (with C variants) targeting RISC-V 64 and x86-32. It includes a ~4K line kernel with processes, threads, virtual memory, a file system, and a shell, plus a detailed Chinese-language tutorial book.

## Use cases
- learn how to write an operating system kernel from scratch
- study OS concepts like virtual memory, scheduling, and file systems hands-on
- learn systems programming in Rust
- build a Unix-like OS for RISC-V in a university OS course
- run a teaching kernel on QEMU or K210 dev boards
- understand how syscalls, processes, and concurrency work at the kernel level

## When to choose
- you are a beginner wanting to learn OS development without prior assembly or architecture knowledge
- you want a small, readable (~4K LoC) kernel codebase to study and extend
- you prefer Rust for systems programming education
- you need structured lab exercises with a companion tutorial book

## When to avoid
- you need a production-grade OS kernel
- you require English documentation (the tutorial is currently Chinese-only)
- you want to develop for ARM or other non-RISC-V/x86 platforms
- you need a maintained project with frequent updates

## Facets
- artifact type: learning-resource
- maturity: maintenance
- function: interpreter, programming-language, developer-tools
- domain: operating-systems, education, tutorials
- platform: windows, rust, cpp
- tags: operating-system, kernel, risc-v, rust-os, qemu, teaching-os, rcore, x86, systems-programming, linux, macos

## Member repositories
- chyyuu/os_kernel_lab (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:33.760963+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:23:42.150773+00:00, confidence not recorded.
  - readme: https://github.com/chyyuu/os_kernel_lab (fetched 2026-08-28T04:08:33.760963+00:00, sha 9f475fc9511b)
  - homepage: https://rcore-os.github.io/rCore-Tutorial-Book-v3/index.html (fetched 2026-08-29T09:16:04.340708+00:00, sha f9f811d7cbda)
  - site_page: https://rcore-os.cn/rCore-Tutorial-Book-v3/chapter0/4os-features.html (fetched 2026-08-29T09:16:04.349877+00:00, sha 47a422512745)
- Data as of 2026-08-30T08:39:29.467469+00:00.
