this post was submitted on 21 Jun 2023
20 points (100.0% liked)

Redox OS

198 readers
14 users here now

A community for users, developers, and enthusiasts of Redox OS.

founded 1 year ago
MODERATORS
top 5 comments
sorted by: hot top controversial new old
[–] [email protected] 4 points 1 year ago (2 children)

I find the idea of a modern practically usable OS really exciting, so this is awesome!

It says "Drivers run in Userspace" on the front page of Redox - what is the advantage of this? I don't know too much about drivers.

[–] soller 6 points 1 year ago

The advantage is that drivers are isolated in separate processes with fewer permissions.

[–] Homer 1 points 1 year ago

The two big benefits are security and stability.

The traditional approach is to have drivers run in kernel space. If there ends up being an issue, it could crash the entire system instead of just the relevant process. From the security side of things, in the traditional drivers are run with the highest set of security capabilities. A flaw in a driver that allows, say code execution, would run that code as a high privileged user (usually a system user root in the case of *nix). Running then in her space dramatically lowers the impact of exploitation.

[–] [email protected] 0 points 1 year ago (1 children)

Looking forward to try Redox one day. Rustlang is the future.

I hope apps in this new OS can be just a single file package which can be downloaded and run. That's one major thing which MacOS (and Windows to some extent) got right. Package managers on Linux are a premature optimization dependency hell..

[–] hatred_45 1 points 5 months ago* (last edited 5 months ago)

The Linux distribution packages suffer from dependency hell because the C and C++ dependency management is manual, there's no good dependency manager on the C and C++ programming languages.

While the Rust programming language has automatic dependency management with Cargo, the best dependency manager in the history of computing.