Live data from Hacker News

Show HN: Redox Rust OS – v0.3.3 release

github.com

71–80 of 80 posts

Re: Show HN: Redox Rust OS – v0.3.3 release

#71
post #26

Earlier quoted context omitted.

I agree -- I've been somewhat negative about Rust, but it looks like Redox is one of the projects doing "real work" with it. It's an impressive vote of confidence for the language. Also, I'll pat myself on the back and say the Ion shell looks nice, because it borrowed some ideas from the Oil shell [1] :) In particular, we talked a fair bit about the array syntax and semantics, and lack of word splitting. [1] http://w…

What does "word splitting" mean in this context?

Word splitting is the difference between

    $ var='my program.py'
    $ python $var
and

    $ python "$var"
You need double quotes to protect against word splitting. Almost all shell tutorials guides hammer this point home repeatedly, because if you omit double quotes, it works most of the time, and then blows up with incomprehensible error messages when you have spaces.

If you have a filename with spaces, like "my program.py", then python would be invoked with TWO arguments in the first case ["my", "program.py"].

But it will be invoked with single argument in the second case ["my program.py"], which is the correct thing.

I talk about how word splitting is really a hack around the historical lack of arrays in bash here:

"Thirteen Incorrect Ways and Two Awkward Ways to Use Arrays"

http://www.oilshell.org/blog/2016/11/06.html

Re: Show HN: Redox Rust OS – v0.3.3 release

#72
post #3

I have a question. In the fuchsia/zircon thread some people (committers?) were saying that Rust was not suited and would be difficult. Redox is also a microkernel. So are there any limitations or not?

> In the fuchsia/zircon thread some people (committers?) were saying that Rust was not suited and would be difficult.

The only thread that I saw was someone decrying that Zircon was written in C++ rather than C, which later turned into a discussion on Rust. I haven't seen any Zircon committers comment on Rust; can you find the link you're thinking of?

Re: Show HN: Redox Rust OS – v0.3.3 release

#73
post #48
post #17

Will it work with virt-manager, or it requires manual Qemu/KVM setup?

Pretty much all standard functionality in QEMU is supported by virt-manager, only for weirder things you need to escape to manual command line use.

Great. I'll give Redox a spin.

Re: Show HN: Redox Rust OS – v0.3.3 release

#74

Very impressive, but I'm still disappointed they are mostly copying Unix, rather than trying to improve it. E.g. based on the names, the coreutils are identical.

While I completely agree that there are Unix idioms that could go by the wayside, the team is already taking on an enormous project. Reinventing standard practices at the same time (and the ridiculous bike shedding that would ensue) seems like an even more impossible task.

Good point, but opportunities to fix fundamental things like 'dd' existing, or unstructured piping are rare. Shame to waste them.

Re: Show HN: Redox Rust OS – v0.3.3 release

#75

Earlier quoted context omitted.

While I completely agree that there are Unix idioms that could go by the wayside, the team is already taking on an enormous project. Reinventing standard practices at the same time (and the ridiculous bike shedding that would ensue) seems like an even more impossible task.

Good point, but opportunities to fix fundamental things like 'dd' existing, or unstructured piping are rare. Shame to waste them.

Ok, I have to ask. What's wrong with dd?

Re: Show HN: Redox Rust OS – v0.3.3 release

#77
post #72
post #3

I have a question. In the fuchsia/zircon thread some people (committers?) were saying that Rust was not suited and would be difficult. Redox is also a microkernel. So are there any limitations or not?

> In the fuchsia/zircon thread some people (committers?) were saying that Rust was not suited and would be difficult. The only thread that I saw was someone decrying that Zircon was written in C++ rather than C, which later turned into a discussion on Rust. I haven't seen any Zircon committers comment on Rust; can you find the link you're thinking of?

I may have been mis-remembering. I was hoping to see more Rust in it since it was new.

Re: Show HN: Redox Rust OS – v0.3.3 release

#79

Very impressive, but I'm still disappointed they are mostly copying Unix, rather than trying to improve it. E.g. based on the names, the coreutils are identical.

Strongly agreed.

Especially since multiple successors to Unix already exist -- notably, Plan 9 and Inferno.

Re: Show HN: Redox Rust OS – v0.3.3 release

#80
post #26

Earlier quoted context omitted.

I agree -- I've been somewhat negative about Rust, but it looks like Redox is one of the projects doing "real work" with it. It's an impressive vote of confidence for the language. Also, I'll pat myself on the back and say the Ion shell looks nice, because it borrowed some ideas from the Oil shell [1] :) In particular, we talked a fair bit about the array syntax and semantics, and lack of word splitting. [1] http://w…

Curious, what makes you think Rust isn't be used for "real work"? So far there's a high performance browser (servo + servo components in FF), kernel (Redox), parallelism library (Rayon), grep replacement (ripgrep), all written in Rust, that are somewhere near best-in-class (Redox is debatable but that's mostly due to the fact that the success of an OS requires many non-technical factors). All this in a language that'…

Webrender, the next gen rendering/compositing engine for Servo, will become the default renderer for Firefox Nightly at the end of this year and several components like CSS and URL parsing have been in Firefox stable for a while now. That alone puts Rust in the multi-million end user club for some complicated software
Post reply on HN