MHN
Add a comment on Hacker News →
1 of 43 comments
  1. Hi HN,

    I’ve been working on a tiny RTOS as a personal project to better understand how operating systems and schedulers work internally.

    This project includes:

    • Basic task scheduler
    • Context switching
    • Simple memory management
    • Runs on (your target hardware or environment)

    Motivation:
    I wanted to learn OS internals by building everything from scratch rather than relying on existing frameworks.

    Challenges:

    • Implementing context switching correctly
    • Designing a minimal but usable scheduler
    • Keeping the codebase simple and readable
    • I’d really appreciate feedback, especially on:

    • Architecture design
    • Scheduler implementation
    • Code structure

    GitHub: https://github.com/cmc-labo/tinyos-rtos