Re:Moss: a Rust Linux-compatible kernel in 26,000 lines of code
by fortran77 on Friday November 28, 2025 @08:02PM
(#46084338)
BUt it's not "safe" because it's mixed with assembly
Re:Moss: a Rust Linux-compatible kernel in 26,000 lines of code
by scottlamb on Friday November 28, 2025 @08:18PM
(#46084428)
There are no programs written in 100% safe Rust—the std library is written with unsafe as needed. But typically the majority of lines in the program—sometimes even all outside std or some well-audited foundational creates—are safe. Those lines can not directly cause any unsoundness, which has tremendous value.
Re:Moss: a Rust Linux-compatible kernel in 26,000 lines of code
by loeg on Friday November 28, 2025 @08:42PM
(#46084558)
This has been discussed ad nauseam and this adds nothing new. There's value in the memory safety for the majority of the code even if there are some escape valves ("unsafe" keyword, assembly).
After you got the busybox shell running, how long did it take to add vim support? What challenges did you face? Did you cross-compile it?