Originally posted by ryao
View Post
Announcement
Collapse
No announcement yet.
Rust Null Block Driver Published To Begin Experimenting With Rust For Linux Storage
Collapse
X
-
- Likes 2
-
Originally posted by mdedetrich View Post
Yes because its a stupid idea, if someone wants to disable bound checking they should be explicit about it. The last thing we need is distro maintainers/programmers thinking they are "smart" by disabling bounds checking using some compiler flag to then proceed creating security issues for upstream.
Understand what, the fact that you can write unsafe C code?
- Likes 4
Comment
-
-
Originally posted by ryao View Post
Interestingly, the Rust support in Linux might as well not be there since you can compile Linux 6.3.1 on a system that lacks a Rust compiler and there is no real difference. The rust work happening right now is intended to enable people to write new drivers in it, but it really is not suitable for that yet since it lacks support for all architectures and it does not even have a minimum compiler version.
Comment
-
Originally posted by oleid View Post
Why to you keep putting things into other people's mouth?
Then you have others making remarks like “Our goal should be to get unsafe code so small such that considerable effort can be spent on verifying its safety” with regard to Linux rust support, which is very different than what Linus actually agreed to do. He did not agree to a rewrite in Rust, but Rust proponents here will happily insinuate he did when he is not around to say otherwise.Last edited by ryao; 05 May 2023, 02:52 PM.
- Likes 5
Comment
-
Originally posted by oleid View Post
People already write graphics drivers for Apple M1 (and later) in rust. It is here to stay, I'm positive.
Linux kernel source tree. Contribute to AsahiLinux/linux development by creating an account on GitHub.
Linux kernel source tree. Contribute to AsahiLinux/linux development by creating an account on GitHub.
I am not sure how this is relevant. Whether Linux’s Rust experiment succeeds is far too early to call.
- Likes 3
Comment
-
Originally posted by ryao View Post
None of that is in Linus’ tree at the moment. It also appears that she wrote kernel driver code for the M1 in both C and Rust in her private tree:
Originally posted by ryao View PostI am not sure how this is relevant. Whether Linux’s Rust experiment succeeds is far too early to call.Last edited by oleid; 05 May 2023, 03:48 PM.
Comment
-
Originally posted by ryao View Post
mdedetrich is a huge proponent of rewriting all C/C++ code into Rust or any other language. He has made comments to this effect many times in the past.
Comment
-
Originally posted by ryao View PostThen you have others making remarks like “Our goal should be to get unsafe code so small such that considerable effort can be spent on verifying its safety” with regard to Linux rust support, which is very different than what Linus actually agreed to do. He did not agree to a rewrite in Rust, but Rust proponents here will happily insinuate he did when he is not around to say otherwise.
I do believe that Linux will ultimately follow suit, though. If not with Rust, than with something else.
Comment
Comment