Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
steveklabnik
· 11y ago · 0 comments
Yes, that's totally possible. You can write a kernel in Rust if you want.
Comments
[–]
tdrd
11y ago
...is it documented anywhere? where?
[–]
steveklabnik
OP
11y ago
http://doc.rust-lang.org/book/unsafe.html#avoiding-the-stand...
is the closest we have, currently.
https://github.com/rust-lang/rust/wiki/Operating-system-deve...
has a bunch of stuff, and
https://github.com/charliesome/rustboot
and its forks are examples that I know of.
[–]
swetland
11y ago
The example minimal do-nothing program there is much smaller (8k), but still results in a dynamic binary requiring glibc.
The only unresolved symbol is: __libc_start_main@@GLIBC_2.2.5