Originally posted by CommunityMember
View Post
Announcement
Collapse
No announcement yet.
Initial Support For The Rust Language Lands In Linux-Next
Collapse
X
-
Originally posted by ssokolow View Post
Programmers invented computers, C, and C++. Therefore, it's our collective fault that memory vulnerabilities in C and C++ programs stay at around 70% of CVEs no matter what we try.
Originally posted by bug77 View PostDrivers with built-in memory safety? I'll take two, tyvm.Last edited by ix900; 19 March 2021, 03:28 PM.
Comment
-
Every time I see a thread about Rust on Phoronix, I grab some popcorn and start reading the comments. I was always against adding one more language (any language) at a purely C codebase, because I am worried that some time in the future both languages will be needed to understand the codebase (my worries could be unfounded, but Rust fans will certainly try to rewrite parts of the kernel in Rust). I also hate the toxicity of the Rust community ("Everything new should be written in Rust", they said). I also dislike its syntax but this is just personal taste.
I hope that either Rust never makes it to the Kernel, or that it is only used in code that is never called by C and does not implement core functionality.
- Likes 4
Comment
-
Originally posted by marios View PostEvery time I see a thread about Rust on Phoronix, I grab some popcorn and start reading the comments. I was always against adding one more language (any language) at a purely C codebase, because I am worried that some time in the future both languages will be needed to understand the codebase (my worries could be unfounded, but Rust fans will certainly try to rewrite parts of the kernel in Rust). I also hate the toxicity of the Rust community ("Everything new should be written in Rust", they said). I also dislike its syntax but this is just personal taste.
I hope that either Rust never makes it to the Kernel, or that it is only used in code that is never called by C and does not implement core functionality.
- Likes 2
Comment
-
Originally posted by ferry View PostGood luck getting Linus to accept code that builds today but not tomorrow into the kernel.
What you won't see any time soon is Linus accepting Rust-written core functionality like x86 Platform, MM and Net. Not because Linus is afraid Rust will disappear, but because dividing the competence of the eyeballs on the gonads of the kernel into two language camps is unacceptable.
Comment
-
Originally posted by CommunityMember View Post
Rust's existence has not depended on Mozilla for quite some time (although until the creation of the Rust Foundation did use Mozilla's hosting facilities (they layoffs expedited the creation of the foundation which had been previously planned)). While one should not dismiss the importance and value of Mozilla's employees in creating and shepherding rust, rust outgrew Mozilla, and recent contributions to the ecosystem were more from outside than inside Mozilla itself.
Comment
-
Originally posted by ssokolow View PostMaybe it's doing something like "The majority of the threads are sleeping, so I'll call it sleeping, but one thread is taking 100% CPU".
- Likes 4
Comment
-
Originally posted by marios View PostEvery time I see a thread about Rust on Phoronix, I grab some popcorn and start reading the comments. I was always against adding one more language (any language) at a purely C codebase, because I am worried that some time in the future both languages will be needed to understand the codebase (my worries could be unfounded, but Rust fans will certainly try to rewrite parts of the kernel in Rust). I also hate the toxicity of the Rust community ("Everything new should be written in Rust", they said). I also dislike its syntax but this is just personal taste.
I hope that either Rust never makes it to the Kernel, or that it is only used in code that is never called by C and does not implement core functionality.
BTW I don't think that your bashing of the Rust community is warranted. The "rewrite everything in Rust" meme is more of an in-joke than a serious attitude; in fact the Rust community has always been open-minded about that. Read for example this week's This Week In Rust and you will find an article on why Rust and Go complement nicely each other. Personally I've always found the Rust community to be one of the least toxic programming language communities around (together with the Python and Go communities), particularly if you compare it with the likes of the C++ folks (many of whom are unusually narrow-minded and defensive about "their" language - I've worked a lot (a lot) on C++ codebases) or the rather bizarre dlang community, who spends most of its time bashing D but at the same time is extremely resentful and acrimonious towards all languages that are not D, particularly Rust, Java and JS.
- Likes 9
Comment
Comment