30
submitted 1 year ago by bacteriostat@lemmy.one to c/linux@lemmy.ml
top 7 comments
sorted by: hot top controversial new old
[-] OsrsNeedsF2P@lemmy.ml 10 points 1 year ago* (last edited 1 year ago)

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.

[-] jakobmn@feddit.dk 3 points 1 year ago

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.

[-] OsrsNeedsF2P@lemmy.ml 1 points 1 year ago* (last edited 1 year ago)

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.

[-] lonnez@lemmy.ml 2 points 1 year ago

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!

[-] KindnessInfinity@lemmy.ml 2 points 1 year ago

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/

[-] treverflume@lemmy.ml 1 points 1 year ago

This means kernels would be very secure after being written in rust correct?

[-] OsrsNeedsF2P@lemmy.ml 3 points 1 year ago

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"

load more comments
view more: next ›
this post was submitted on 04 Jun 2023
30 points (100.0% liked)

Linux

48033 readers
781 users here now

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.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS