News for hackers. Stuff that matters.
Re:Unix-like OS in Rust inspired by xv6-riscv by o8vm on Tuesday July 25, 2023 @04:30PM (#36868926)
octox is also different in that the kernel, userland, mkfs, and build system are all implemented in Rust, and I think it is also different at the type level, for example, octox using mpmc for Pipe, and using OnceLock and LazyLock for static variable initialization.
Re:Unix-like OS in Rust inspired by xv6-riscv by bakul on Tuesday July 25, 2023 @04:43PM (#36869149)
Thanks. rxv64 kernel (the much harder part), syslib and ulib are in rust. Replacing userland C with rust would not be hard. Ideally a general purpose OS should support programs written in any of the common programming languages so it would make sense to have some programs in another language to keep the OS API "honest"!
Re:Unix-like OS in Rust inspired by xv6-riscv by o8vm on Wednesday July 26, 2023 @03:34AM (#36874214)
octox aims to provide a user library similar to Rust’s std, but implementing it is somewhat difficult.