-1
hinst
2y

Radeon Graphics Driver should be rew ritten in Rust. 🦀 Upvote so that radeon software team sees this post

Comments
  • 3
    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
  • 2
    @IntrusionCM He's trolling I'm pretty sure
  • 2
    @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. :)
  • 0
    Please 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
  • 3
    Microsoft created the language P and rewrote the USB drivers in it ending a period of constant bugs.

    But it was a massive job
  • 0
    Maybe they could use Javascript instead. /s
  • 0
    @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.
  • 0
    @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
Add Comment