News for hackers. Stuff that matters.
Re:Why Rust? [pdf] by AnimalMuppet on Wednesday September 09, 2015 @12:04PM (#10192243)
I'm not the downvoter. But you may be getting the downvotes because you're throwing out snark ("Really? I'm not so sure I trust the author to give rust fair treatment anymore") and dogmatic statements ("An operating system that does multithreading is not the same as a modern machine") with no explanation or justification. It sounds like you're expecting us to agree with your statement as self-evident, or be relegated to the ranks of it ignorant if we don't. That is, it sounds like a one-up game ("I'm smarter/better informed than you"), rather than real conversation.

If you don't want to come across that way, give us some explanation of what you're thinking and why. Give us some evidence that your statement is true. Something besides just dogmatic assertions that you're right and the author of the article is stupid and/or biased.

Moving on...

In the context of the OS, multithreading (or something essentially equivalent) is the only way to exploit the abilities of "modern" machines. But "modern" doesn't mean very modern (at least, as I understand it). It means the difference between MSDOS and Windows: "Windows is multitasking, whereas DOS... DOS is serially multitasking." (I don't recall who said that, but it was brilliant.) Without this capability, you're only running one program at a time.

Now, I don't care if you implement this as "theads" or something else, but if you don't have it, your OS is pretty much worthless, and has been since about 1990.

Re:Why Rust? [pdf] by 0xdeadbeefbabe on Wednesday September 09, 2015 @02:33PM (#10193252)
Thanks for the advice on dogmatism coupled with the statement about having a worthless OS since 1990.

> In the context of the OS, multithreading (or something essentially equivalent) is the only way to exploit the abilities of "modern" machines.

I noticed that you qualified multithreading with "or something essentially equivalent". I guess you would agree that qualifying it this way is a good idea. Mr Blandy did not care to do that though: "[...] is the only way to exploit the abilities of modern machines."

I don't like that because it sounds like he's trying to popularize one approach to concurrency without even acknowledging that it is just one approach.

Re:Why Rust? [pdf] by kibwen on Wednesday September 09, 2015 @02:53PM (#10193419)
It's important to mention here that Rust's approach to multithreading changes the rules of the game. Multithreading has rightfully earned its popular ire over the past few decades, but once you have a typesystem that prevents data races it's almost like there's an entirely new paradigm at your fingertips. So if Rust folk seem insistent on mentioning the use of threads, it's not because they want to push some agenda, it's because they want to overcome the suddenly-obsolete stigma against multithreading.

Note as well that Rust intends to have world-class support for a wide variety of approaches to concurrency and parallelism. Threading and channels are already in the stdlib, and fork/join and SIMD are in the works now. The goal is to enable the programmer to be able to choose the best tool for the job.