Re:Booting to Rust
by aray on Tuesday November 19, 2013 @02:39PM
(#6763823)
Other commenters beat me to the first two examples, though there's more.
GoFY (which hilariously I'm a contributor on) was probably the closest analogy; it booted on x86. Russ Cox's did as well, but it was removed from the go tree years ago when it bitrotted.
Really it boils down to 1) custom linker scripts/targets and 2) a custom "OS" target that emulates syscalls/etc
I've done it a couple times (on ARM-based embedded devices), I end up throwing it out every time. Should get a proper writeup I suppose.
GoFY (which hilariously I'm a contributor on) was probably the closest analogy; it booted on x86. Russ Cox's did as well, but it was removed from the go tree years ago when it bitrotted.
Really it boils down to 1) custom linker scripts/targets and 2) a custom "OS" target that emulates syscalls/etc
I've done it a couple times (on ARM-based embedded devices), I end up throwing it out every time. Should get a proper writeup I suppose.