this post was submitted on 29 Aug 2024
141 points (90.8% liked)

Linux

7794 readers
5 users here now

Welcome to c/linux!

Welcome to our thriving Linux community! Whether you're a seasoned Linux enthusiast or just starting your journey, we're excited to have you here. Explore, learn, and collaborate with like-minded individuals who share a passion for open-source software and the endless possibilities it offers. Together, let's dive into the world of Linux and embrace the power of freedom, customization, and innovation. Enjoy your stay and feel free to join the vibrant discussions that await you!

Rules:

  1. Stay on topic: Posts and discussions should be related to Linux, open source software, and related technologies.

  2. Be respectful: Treat fellow community members with respect and courtesy.

  3. Quality over quantity: Share informative and thought-provoking content.

  4. No spam or self-promotion: Avoid excessive self-promotion or spamming.

  5. No NSFW adult content

  6. Follow general lemmy guidelines.

founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 45 points 2 weeks ago (16 children)

Am I misunderstanding? I thought there were existing bugs caused by unclear lifetimes, and adding a simple C wrapper would prevent those, and make Rust Interop easier at the same time? Which they eventually did, but it took one year?

Why does fixing bugs and making the API more solid = "refactor in more bugs"?

[–] [email protected] 2 points 2 weeks ago (2 children)

UB is only one class of error you can get in a big, complex program. Re-writing functionality opens the door to every other potential class of error too.

I liked the approach the kernel devs were taking where rust modules were being integrated without the 'core' code being touched. I think people who want a complete re-write of everything (if they exist outside of my convenient straw man) are probably better off starting a fresh kernel project.

[–] [email protected] 16 points 2 weeks ago (1 children)

Nothing is being rewritten in Rust.

[–] [email protected] 3 points 2 weeks ago

Yes, you're right, from my understanding nothing is in the kernel. Was more referring to the "re-write in rust!!" meme but admittedly that's a strawman.

load more comments (13 replies)