Writing an OS in Haskell - agniv sarkar
old.agniv.me · 1,630 words · saved by 1 readers
bare-metal Raspberry Pi Zero OS
The code is here . This was a solo class project. I wanted to see what happens when you take a language designed for functional programming and force it to talk to hardware registers. What Is This HaskellOS is a bare-metal operating system for the Raspberry Pi Zero. It boots on real hardware, gives you a shell with 18 commands, reads files off an SD card, blinks LEDs, talks over wireless radio, runs green threads, garbage collects, and has an embedded Lisp interpreter. The codebase is about 4,900 lines of Haskell, 1,350 lines of C, and 310 lines of ARM assembly. The Haskell handles all the log
related reading
- Writing an OS in Haskellagniv.me
- Writing an OS in Rustos.phil-opp.com
- PiTorch: ML on Baremetal Raspberry Pis | projectsmasonjwang.com
- The little book about OS developmentlittleosbook.github.io
- HSRGnotes.ekzhang.com
- Leaving Haskell behind - Infinite Negative Utilityjournal.infinitenegativeutility.com
- Starting Out - Learn You a Haskell for Great Good!learnyouahaskell.github.io
- Write your Own Virtual Machinejmeiners.com
- Introduction - The LearnixOS Booklearnix-os.com
- Squeezing a sokoban game into 10 lines of codecole-k.com
- performance - Why is Haskell (GHC) so darn fast? - Stack Overflowstackoverflow.com
- Collapse OS — Bootstrap post-collapse technologycollapseos.org