News for hackers. Stuff that matters.
Re:Redox OS 0.8.0 by Shared404 on Saturday November 26, 2022 @02:06AM (#33750599)
Redox is a project I'm very interested in.

I think it has the capability to be the next "just a small hobby project".

Re:Redox OS 0.8.0 by darthrupert on Saturday November 26, 2022 @03:20AM (#33750925)
The problem perhaps is that it's mostly a RIIR project. Then again, Rust has given birth to a lot of those that ended up veing pretty great. Like ripgrep.
Re:Redox OS 0.8.0 by ilaksh on Saturday November 26, 2022 @03:36AM (#33751026)
It's clear that C is a dated language that leads to numerous security problems. It is inevitable that we will switch to OS's written in Rust or similar safe languages, or will see most of Linux rewritten.
Re:Redox OS 0.8.0 by pjmlp on Saturday November 26, 2022 @06:32AM (#33751826)
It was already dated when compared against something like Modula-2 (1978), pity that OS vendors decided to go with UNIX clones.
Re:Redox OS 0.8.0 by forgotpwd16 on Saturday November 26, 2022 @04:09AM (#33751180)
I wouldn't call it a RiiR. It takes inspiration from other projects (namely Minix, Plan9, and ZFS for the filesystem) but is otherwise it's own thing and makes some interesting design decisions (e.g. being URL-centered).
Re:Redox OS 0.8.0 by pjmlp on Saturday November 26, 2022 @06:30AM (#33751820)
The problem with some C belivers is that they lack the imagination to accept how systems programming used to be like before Bell Labs released UNIX V6 source code into the wild, or the paths trailed by other companies before UNIX clones won the server room.

So just like with St. Thomas, apparently we need all those Rewrite in Safe Systems Language XVYZ, to bring the non-belivers into the righteous path.

Which is anyway only half of the battle, as Joe Duffy points out in one of his talks, several developers on the WinDev team dimissed Midori efforts, even with the system running in front of them, providing them wrong in all their remarks about the system.

Re:Redox OS 0.8.0 by jbirer on Saturday November 26, 2022 @07:42AM (#33752177)
I enjoy how defensive Rust fans are over their language, it's fun to poke at in my spare time. First of all, Rust is a great language with great ideas in my opinion, but not really fit for systems programming unless you mean on top of an OS like cd grep etc. I think most Rust fans have never written an embedded project or dabbled in lower level code so they assume that it's just perfect for low level.

First you have to work around things like direct memory access, writing a "safe" wrapper around direct memory access doesn't really take it from unsafe to safe and you have to fight the language to do the things you have to do when doing kernel work. Then you have to deal with badly optimized output of the compiler which is fine in an user space program but a no-go in a kernel or even worse on embedded. I know some might say "well you aren't supposed to do that, you need X safety measure" but the hardware doesn't work like that, if you try to apply those concepts to out-of-order execution for example you will incur a heavy performance cost.

tl;dr Rust fanboys should read some kernel device driver code and lower level code before giving their input

Re:Redox OS 0.8.0 by pjmlp on Saturday November 26, 2022 @07:49AM (#33752221)
Somehow Google has managed to ship drivers written in Rust since Android 12.
Re:Redox OS 0.8.0 by forgotpwd16 on Saturday November 26, 2022 @11:52AM (#33754267)
>but not really fit for systems programming

Ironically you say this on a submitted project that uses Rust for systems programming.