Kerla: Monolithic kernel in Rust, aiming for Linux ABI compatibility
Author here. I&#x27;m surprised to see my <i>hobby</i> project on Hacker News.<p>I know this kind of stuff spark the ``it&#x27;s meaningless to rewrite everything (especially Linux) in Rust&#x27;&#x27; debate. I agree 100% that rewriting Linux in Rust (or your favorite language) is just a waste of time and such a project won&#x27;t live long.<p>That said, what I&#x27;d say here is that it&#x27;s fun. Really fun. Implementing ABI compatibility requires you to understand under the hood of the kernel. You can learn how printf(3) works. You can learn what happens before main().<p>Especially, in Rust, it&#x27;s inspiring to explore ways to write a kernel safely and expressively. One of my favorite part is the implementation of read system call [1].<p>Lastly, You can try this OS on SSH. Hope you enjoy :)<p><pre><code>    ssh root@kerla-demo.seiya.me
</code></pre>
[1]: <a href="https:&#x2F;&#x2F;github.com&#x2F;nuta&#x2F;kerla&#x2F;blob&#x2F;main&#x2F;kernel&#x2F;syscalls&#x2F;read.rs" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;nuta&#x2F;kerla&#x2F;blob&#x2F;main&#x2F;kernel&#x2F;syscalls&#x2F;read...</a>