this post was submitted on 29 Aug 2024
139 points (90.6% liked)

Linux

8066 readers
62 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
[–] kevindqc@lemmy.world 45 points 2 months ago (3 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"?

[–] jj4211@lemmy.world 4 points 2 months ago

We have one side's unilateral description of how they perceive the existing state of things and their changes. Folks are very likely to poorly characterize things in a way that would sound crazy to disagree. However the truth is usually somewhere in between.

I have had very very vocal user that decry very deliberate design that the wider user base wanted as a "bug". If someone read their rant without the wider context one would think my team was unreasonable and producing bad software. Even after fellow users took time to explain why they wanted his request rejected, he was quite adamant that everyone else was wrong.

[–] steeznson@lemmy.world 2 points 2 months ago (1 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.

[–] jlh@lemmy.jlh.name 16 points 2 months ago (1 children)

Nothing is being rewritten in Rust.

[–] steeznson@lemmy.world 3 points 2 months 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.

[–] SpaceNoodle@lemmy.world -2 points 2 months ago (2 children)

Because that's the inevitability when major changes are introduced, especially when solely for purposes not directly related to bugfixes.

[–] jlh@lemmy.jlh.name 10 points 2 months ago (1 children)
[–] kevindqc@lemmy.world 7 points 2 months ago* (last edited 2 months ago)

It says "When I tried to upstream minor fixes to the C code to make the behaviour more robust". That doesn't sound like a major changes to me and related to some bugs 🤷‍♂️