4 ms·
Right, it was never under an open source license, but you could look at the code. Re-implementing the QNX 6 kernel in Rust would have been a nice project. It's
by Animats 2y ago
Right, it was never under an open source license, but you could look at the code.
Re-implementing the QNX 6 kernel in Rust would have been a nice project. It's only about 60 kilobytes of code.
All the kernel does is pass messages around, dispatch the CPU, and run timers. All device drivers are in user space. You can build a boot image with whatever processes you want running at startup, so you can have device drivers at boot.
For smaller embedded applications, everything might be loaded at boot. You don't have to have a disk or file systems. There are embedded real-time applications where having zero persistent state is desirable.