Our great sponsors
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
Theseus
Theseus is a modern OS written from scratch in Rust that explores 𝐢𝐧𝐭𝐫𝐚𝐥𝐢𝐧𝐠𝐮𝐚𝐥 𝐝𝐞𝐬𝐢𝐠𝐧: closing the semantic gap between compiler and hardware by maximally leveraging the power of language safety and affine types. Theseus aims to shift OS responsibilities like resource management into the compiler.
Sounds like it's a framebuffer, and yes the apps draw themselves.
Looking at the source code of the cursor app [0], we can see it draws the mouse cursor and skips the rest. The transparent console app [1] is doing something more complicated which I haven't tried to fully understand, but which definitely involves massaging pixels and even temporarily saves pixel data in ctx.store.b1 and ctx.store.b2 so it looks like some kind of double buffering.
[0]: https://github.com/Ruddle/Fomos/blob/cba0460af59e63f46c7646f8a2f29d574ff0d722/app_cursor/src/main.rs#L75
Redox is another full fledged OS written in rust by Pop OS developer
https://github.com/redox-os/redox
This seems to match the definition of a unikernel. Here is another one in Rust: https://github.com/hermit-os/hermit-rs
Theseus OS (https://www.theseus-os.com/) is also an OS written in Rust. It's a safe-language OS and I believe it's the future of the OSes due to its unique features.
Related posts
- Hermit: a Rust-based, lightweight unikernel
- GNU/Hurd strikes back: How to use the legendary OS in a (somewhat) practical way
- RustyHermit – A Rust-based, lightweight unikernel
- GitHub - hermitcore/rusty-hermit: RustyHermit - A Rust-based, lightweight unikernel
- RustyHermit – A Rust-based, lightweight unikernel