this post was submitted on 10 Mar 2025
77 points (100.0% liked)

Linux

9106 readers
171 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 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] -3 points 4 hours ago (2 children)

Hmm I hope the chosen language doesn't cause performance issues.

[–] [email protected] 2 points 12 minutes ago

Well, it shouldn't. Both C and Rust can achieve the same performance. There's also no overhead for calling Rust from C or vice versa. Theoretically, some detail-optimizations look less horrid in C, but on the other hand, writing parallel code is significantly easier in Rust. Graphics drivers tend to be all about parallelism, although I can't say how relevant it actually is in this case.

Having said that, it is likely that the initial versions of this new driver will have worse performance, until the code base matures more.

[–] [email protected] 1 points 6 minutes ago

Rust can be faster or slower depending on how you write your C code. In general they are the same.