Once these patches land, network drivers will be able to be written in Rust.
Slowly but surely, the solid blocks are being placed. Some people are saying it's happening too slowly, but there's a lot of people who are saying it's happening too fast.
Once these patches land, network drivers will be able to be written in Rust.
Slowly but surely, the solid blocks are being placed. Some people are saying it's happening too slowly, but there's a lot of people who are saying it's happening too fast.
It's certainly happening a lot faster than I expected. It will be interesting to see how the stability of rust drivers will be. Prior to reading the write-up of why the GPU drivers for the M1 silicon was written in Rust, I could not see how it would be beneficial to introduce a new point of failure by adding Rust support in the kernel, but now I think it's a good idea to slowly migrate in that direction. It just means that I will have to teach myself Rust sooner or later.
People aren't drooling over rust for no reason :)
Regarding the M1, yea.. I've actually got mine sitting beside me right now (because I borked my main computer an hour ago and needed it). It runs incredibly impressively - I've even gotten Minecraft to 60FPS. Considering they're writing the drivers from scratch with no documentation on the parts they're implementing, it's mind boggling.
It's felt like it's going pretty fast to me, especially for a change to the kernel. I'm very excited to start seeing more Rust additions going forward!
I'm shocked given this quote by Torvalds "Quite frankly, even if the choice of C were to do nothing but keep the C++ programmers out, that in itself would be a huge reason to use C." https://lwn.net/Articles/249460/
This means kernels would be very secure after being written in rust correct?
Rust prevents a lot of silly mistakes, but if it had to be quantified, I would say in general it would be "twice as secure"
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0