3 ms·
The easiest way forward for a rust kernel is not to start from scratch, but to port Minix3. Minix is an open source micro-kernel somewhat similar to QNX. The ke
by jpfr 9y ago
The easiest way forward for a rust kernel is not to start from scratch, but to port Minix3. Minix is an open source micro-kernel somewhat similar to QNX. The kernel itself is on the order of 4000 lines of code. [1]
Though small, Minix has quite a long history, is super-stable and looks like a sweet spot in kernel development.
The kernel could be ported piecemeal while always being able to boot during the transition. Similar to how remacs is slowly porting emacs over to rust [2].
And on top of that, you can use the rump kernel approach to run the device drivers, TCP/IP, etc. from NetBSD. So you immediately get a fully functional OS.
[1] http://www.minix3.org/ http://www.minix3.org/
[2] https://github.com/Wilfred/remacs https://github.com/Wilfred/remacs