this post was submitted on 04 Jun 2023
18 points (90.9% liked)

Linux

48143 readers
767 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
top 7 comments
sorted by: hot top controversial new old
[–] [email protected] 5 points 1 year ago* (last edited 1 year ago) (4 children)

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 I've read a lot of Kernel developers are worried it's happening too fast.

[–] [email protected] 3 points 1 year ago (1 children)

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.

[–] [email protected] 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.

[–] [email protected] 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/

[–] [email protected] 1 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!

[–] [email protected] 1 points 1 year ago (1 children)

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

[–] [email protected] 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 ›