Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
I would _highly_ recommend to look up driver and device programming before making bold claims.
Rust is not a silver bullet, and it will never be.
Writing a driver is already a huge task, but the driver only works with firmware.
Firmware which is closed source, even if it _would_ be open, it's still up to debate whether the quality could be really better - given that the necessary knowledge is high and thus the number of developers is small.
Additionally, the number of variables involved in a firmware vs driver vs device vs vendor specifics vs implementation specifics is insane.
So. No. Rust doesn't fix shit.
It _might_ improve the situation - but relearning everything for a language chain, writing a completely new tool chain to adapt to the language, education and documentation for the new tool chain, ... Is a huge task.
So even the improvement involves a huge cost with lil to no gain.
What would be required is a massive invest in NGO organizations, sponsoring recruitment / education and loan for full time developers.
That would help.
Many of the open source projects have a dire lack in fresh blood - to put it out more bluntly, they risk going extinct.
Fix that first as it is the number one reason for the sad state many projects have -
@12bitfloat might be, but I'm bored, sitting on the sofa and watching TV.
So it sparks some joy writing stuff even if it is just answering to a troll. :) -
hinst13152yPlease stop troll and just upvote I beg you. Radeon graphics driver is so bad and it gets worse over time. Rewriting it in Rust is the only chance
-
Voxera115852yMicrosoft created the language P and rewrote the USB drivers in it ending a period of constant bugs.
But it was a massive job -
@Voxera
https://microsoft.com/en-us/...
Interesting read. Never heard of P before.
Though the article gives me migraine... Lot's of complicated words for a Sunday with no work.
Seems like they didn't rewrite UHCI -/ EHCI, only XHCI. Nevertheless an amazing feature, given the complexity of XHCI. -
Voxera115852y@IntrusionCM yes, I would not claim to really understand it but its supposed to allow for mathematically provable correct code.
Sound good but you probably need a few more university degrees first :P
Related Rants
Radeon Graphics Driver should be rew ritten in Rust. 🦀 Upvote so that radeon software team sees this post
random
rust