rust-osdev / homepage

https://rust-osdev.com
Apache License 2.0
119 stars 34 forks source link

Add Motor OS announcement. #194

Closed lasiotus closed 9 months ago

lasiotus commented 9 months ago

Thanks!

The kernel ABI is exposed via moto-sys crate, while the I/O via moto-runtime, which is a dependency of Rust's stdlib.

Pretty much everything there is very unstable yet, but the end result of porting the stdlib is that Rust code that relies only on Rust's stdlib compiles and runs, and has the stable Rust stdlib API to rely on. In other words, the project mimics Rust's stable/unstable setup: the higher-level API (stdlib) is stable, the lower-level details are not.

phil-opp commented 9 months ago

Thanks for the explanation! Looks like you use repr(C) for the lower-level ABI (e.g. ProcessData), so creating a C-compatible system library would work too, right? You just focus on userspace programs written in Rust for now?

lasiotus commented 9 months ago

Yes, exactly!