Re:Rewrite Linux Kernel in Rust?
by Retra on Sunday June 04, 2017 @11:37AM
(#14482056)
Safe rust clearly cannot express everything that can be expressed in C. It cannot even express everything that is safe in general. But "the safety features of Rust" includes drawing a barrier between the safe parts of your code and the unsafe parts. There is significant value in that compartmentalization. Moreover, you are assuming that things written unsafely in C should be written identically in rust, when there very well could be more idiomatic, modern ways to do the same thing without any unsafety at all.
[ Parent
| on HN ]
Re:Rewrite Linux Kernel in Rust?
by youdontknowtho on Monday June 05, 2017 @06:59AM
(#14486645)
There are modern ways to express something safely that is written unsafely in C. What Rust evangelists seem to forget is that there have been ways to do that for a long time.
The article actually has very little safe Rust in it. It makes me wonder what we are gaining? If the idea is that introducing Rust means that later you can go back and add type and memory safety...why not use C++ in a type and safe by construction way? Why not use Safe D?
I'm personally just looking forward to the hype dying down. I'm tired of hearing about it, and most of the time I just click "hide" on Rust articles because I'm not interested and people are starting to sound pretty shrill.
Have you ever written anything in Rust?
Re:Rewrite Linux Kernel in Rust?
by youdontknowtho on Tuesday June 06, 2017 @10:38AM
(#14497526)
Like I said, I'm tired of hearing about it and, no, I haven't.