Hacker News new | ask | show | jobs
by sunfish 1683 days ago
It's indeed possible! I and others are building a Rust version of this:

https://github.com/sunfishcode/mustang

It supports threads, filesystem, networking, and more!

The library for making Linux system calls is:

https://github.com/bytecodealliance/rustix

1 comments

Amazing!! Rust safety all the way up to the Linux system calls, and no legacy cruft like errno anywhere. That's the sort of project I had in mind. I'm so glad I'm not insane for imagining things like this. It would be so great to see a 100% Rust or Lisp or Zig user space built on top of Linux. Would be a lot more interesting than the same old POSIX user space every distribution ships with...