Running Scheme On Bare Metal (Experience Report)
summary
A Scheme-based OS called Mimosa runs on Gambit runtime on 32-bit x86 hardware (tested in QEMU) and provides drivers for keyboard, UART, IDE, RTC and a serial REPL; video and terminal stay in C for bootstrap. The implementation works but stop the world garbage collection drops interrupts, so an interrupt architecture splits flow-control versus uncontrolled events, uses a static buffer and a notification pump thread to dispatch to Scheme handlers. Remaining loss occurs during high bursts and the planned fix is an allocation-free interrupt subset.
AI-written summary · about
chapters (9)
- 0:00Introduction to Mimosa
- 0:21Concept and advantages
- 1:45Scheme features for OS
- 2:54System demonstration
- 6:32System architecture
- 8:59Interrupt handling
- 15:12Future interrupt design
- 17:12REPL for debugging
- 20:13Conclusion and resources
related talks
25mMX Hacker's Revenge
19mReworking Memory Management in CRuby: A Practitioner Report
59mKeynote: RailsConf 2022 - It's been a minute!
01h 03mStrengthening the Ruby Ecosystem Part II: Merb
44mTowards Ruby 3x3 performance
42mKeynote #3
35mmruby: a Packaging Story Filled with Freedom
52mRuby: Where Are You Going?
