4 ms·
Google Wants Rust in the Linux Kernel
- deleted 5y ago[deleted]
- lionkor 5y agoThis might be a little radical, but I really wish google stopped acting like they own anything they want because "they could buy you and your family". It seems to me like this decision is being made purely because Rust is hot right now, and not because it makes so much sense that its the best decision moving forward.
- willtim 5y agoOr maybe it's because people want to build software that is more secure and reliable (something which C does not have a great track record for)? Google are not the main instigator of this initiative, they are adding their support for it.
- hulitu 5y agoYou mean like firefox ? OTOH there was a thread about coreutils written in Rust that crash reliably.
- zxzax 5y agoIf the crashes are intentional panics caused because of detection of a memory safety issue, more crashes there are actually good; in a C program they would be silent buffer overflows or memory corruption that don't manifest until later, or may not manifest at all until it becomes a security issue.
- hu3 5y agoSome more details here: https://lwn.net/Articles/860160/ https://lwn.net/Articles/860160/ > The Prossimo project has announced that it has contracted with Miguel Ojeda to work on Rust in the Linux kernel for the next year. Prossimo is a new name for the memory-safety projects being run by the Internet Security Research Group (ISRG), which is the organization behind the Let's Encrypt certificate authority (CA) project. Google provided the funds to enable Ojeda to work full-time on the project starting back in April. And here: https://www.memorysafety.org/initiative/linux-kernel/ https://www.memorysafety.org/initiative/linux-kernel/ > ...Alex Gaynor and Miguel Ojeda have done some incredible work, both technically and in terms of making the case for Rust in the Linux kernel. Miguel's first kernel mailing list RFC has a lot of great information about what's being proposed. > In April of 2021, were able to fund Miguel to work on Rust for Linux full time for one year. > Sponsors: Google
- andy_threos_io 5y agoI know a good number of people who will move away from Linux after Rust get in the kernel.
- lionkor 5y agotime to fork it, pull out rust, and get that one active. that's what foss is all about.
- zaphirplane 5y agoWhy ? Are they Users, kernel developers ? Move to what
- foolmeonce 5y agoAs someone who worked on kernel/OS code in C for many years, I'm very happy to see any language that doesn't sacrifice it's fit for embedded systems try to enter this space. I think it was a shame that go didn't prioritize the lower-level use cases like its ancestors and I think not falling into a NIH syndrome is wise and mature of Google. People will drop out because of change, and others will join or comeback. Life goes on.
- ostenning 5y agoRust is an absolute no brainer in my eyes after writing it almost exclusively for embedded platforms for the past 8 months.. But sure, it’s not fit for all legacy systems with parts of Linux probably included in that list
- SkyMarshal 5y agoWhat are those people's objection to Rust in the kernel? Do they prefer C's way of controlling and managing memory allocation?