Re:Writing an OS in Rust: Advanced Paging
by shmerl on Monday January 28, 2019 @02:00PM
(#19020098)
One of the areas still in development in Rust now is handling memory allocation failures. That's important for kernel development.
[ Parent
| on HN ]
Re:Writing an OS in Rust: Advanced Paging
by steveklabnik on Monday January 28, 2019 @02:45PM
(#19020432)
This is both kinda true and kinda not; the allocator work will help with using the standard library data structures on a kernel heap, but many kernels write their own specialized structures anyway, so you’d make the kernel allocator fallible and it all works out.
Yeah, the above will just make such development more accessible.
Re:Writing an OS in Rust: Advanced Paging
by Gajurgensen on Monday January 28, 2019 @09:14PM
(#19023095)
Why wouldn't it be a good solution to write something like Box, but with a new function that returns `Option<Box<T>>`? I'm not sure what Rust is lacking here.