Redox OS: an Operating System Written in Rust

Redox OS

Brief: A new Unix-like OS, written in Mozilla’s recently released programming language Rust. It focuses more on the security of the overall system. The project seems like a mighty undertaking.

What is Redox OS?

If you are a frequent reader of It’s FOSS, you are undoubtedly familiar with Linux and Unix-derived systems. When those systems were created, internet and network security wasn’t even a thing. After all, the only people on the networks were government agencies, colleges, and corporations. Hackers weren’t a problem, at least not as big as today.

As computers became more widespread and people learned how to manipulate them and steal data and information. As the threats appeared security features were added to Linux. However, there are still some functions built into Linux that aren’t as secure as they could be. That is what the Redox OS team is trying to fix by starting over from scratch.

The project was first launched by Jeremy Soller in April of 2015. While a majority of Linux development, especially the kernel, is done in C, Redox is being written in Rust. If you have never heard of Rust, that may because it is one of a host of new programming languages. It was first announced in 2010 and hit version 1.0 last year.

The Rust language was chosen for this project because it can “provide more memory safety considerations than C allows by default”. That isn’t the only the developers are doing to differentiate themselves from Linux. Redox will use a microkernel design, as opposed to Linux’s monolithic kernel. This will slim down the size of the kernel, making the system quicker.

Another difference between Linux and Redox is how the two systems handle data. Linux sees every item on the hard drive as a file. Redox developers have decided to treat everything as a URL. This will make it “simple to register handlers for events, and it provides a consistent manner to perform other kinds of abstractions”.

Suggested read
Darktable 2.0 Released! Installation via PPA Available

The project is being released under the MIT license to encourage others to adopt Redox code. Right now the project is not production ready. The ISO file is only 32 MB. It has a basic file system and an optional GUI named Orbital. The developers are also working to add support for ZFS.

redox-os-screenshot

Why Redox?

Why bother trying to create an operating system? According to Redox’s Book, the project has three goals:

  • We want to be able to use it, without obstructions, as an alternative to Linux on our computers. It should be able to run most Linux programs with only minimal modifications.
  • We’re aiming towards a complete, safe Rust ecosystem. This is a design choice, which hopefully improves correctness and security.
  • We want to improve the security design when compared to other Unix-like kernels by using safe defaults and disallowing insecure configurations where possible.

Thoughts

Linux has been in development for 24 years. Unix has been under development even longer. Redox has only been in development for 13 months. So far, there’s not much you can do with Redox. There’s no package manager. No way to get on the internet. Basically, Redox has ways to go. I welcome competition. If Redox can produce well made a product, then more power to them.

What do you think? Would you be interested in a modern competitor to Linux? Comment below.

Comments

  1. Well, I think any time there is a new approach someone will be able to learn from it and this helps make for more creativity in some ways. So yeah go for it. But I will wait for ubuntu or linuxmint to adopt it because I am just an average user.

  2. There’s a big mistake in the news. It’s written a microkernel is smaller therefore faster. The writer has probably never heard of the main problem with microkernels : inter process communication. That’s the reason why Linus made the choice of the monolithic kernel, avoiding this main problem. And considering TOP500, it seems he made the good choice when it comes to performances.

  3. I once owned an AT&T 3b1 box and now use W10 & Ubuntu 16.04 LTS…I doubt very much if Linux will ever become a standard PC default OS…perhaps after I am six feet under!

    • Why do you say that? Android and Ubuntu have grown in popularity over the last couple of years. I think Dell sells computers with Ubuntu installed by default.

  4. If the Linux repositories can be ported this is kind of a no-brainer. With security being the issue and all.

  5. ” Would you be interested in a modern competitor to Linux? ” Veeery interested, especially that it’s based on Rust. i heard a lot of good things about it. I see it suitable to mobile devices for how fast and light this OS is planning to be

Leave a Reply

Your email address will not be published. Required fields are marked *

[i]
[i]