4 ms·
Could this allow for developing a toy kernel in Rust as long as you define those few libc functions (maybe even with e.g. musl[1])? [1]: http://www.musl-libc.o
by devinus 13y ago
Could this allow for developing a toy kernel in Rust as long as you define those few libc functions (maybe even with e.g. musl[1])?
[1]: http://www.musl-libc.org/ http://www.musl-libc.org/
- dietrichepp 13y agoIt's tempting to just say "yes". Tool support is not yet good enough. Inline assembly is available. Language constructs allow for deterministic memory allocation patters. https://github.com/mozilla/rust/pull/5317 https://github.com/mozilla/rust/pull/5317
- richardwhiuk 13y agoIt's not obvious to me you can write to memory at arbitrary memory locations, which is usually a requirement for writing a kernel.
- kibwen 13y agoSomeone may have beaten you to it: https://github.com/charliesome/rustboot https://github.com/charliesome/rustboot