• OsrsNeedsF2P
    link
    fedilink
    arrow-up
    10
    ·
    edit-2
    1 year ago

    Once these patches land, network drivers will be able to be written in Rust.

    Slowly but surely, the solid blocks are being placed. Some people are saying it’s happening too slowly, but I’ve read a lot of Kernel developers are worried it’s happening too fast.

    • jakobmn@feddit.dk
      link
      fedilink
      arrow-up
      3
      ·
      1 year ago

      It’s certainly happening a lot faster than I expected. It will be interesting to see how the stability of rust drivers will be. Prior to reading the write-up of why the GPU drivers for the M1 silicon was written in Rust, I could not see how it would be beneficial to introduce a new point of failure by adding Rust support in the kernel, but now I think it’s a good idea to slowly migrate in that direction. It just means that I will have to teach myself Rust sooner or later.

      • OsrsNeedsF2P
        link
        fedilink
        arrow-up
        1
        ·
        edit-2
        1 year ago

        People aren’t drooling over rust for no reason :)

        Regarding the M1, yea… I’ve actually got mine sitting beside me right now (because I borked my main computer an hour ago and needed it). It runs incredibly impressively - I’ve even gotten Minecraft to 60FPS. Considering they’re writing the drivers from scratch with no documentation on the parts they’re implementing, it’s mind boggling.

    • lonnez
      link
      fedilink
      arrow-up
      2
      ·
      1 year ago

      It’s felt like it’s going pretty fast to me, especially for a change to the kernel. I’m very excited to start seeing more Rust additions going forward!

    • treverflume
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      This means kernels would be very secure after being written in rust correct?

      • OsrsNeedsF2P
        link
        fedilink
        arrow-up
        3
        ·
        1 year ago

        Rust prevents a lot of silly mistakes, but if it had to be quantified, I would say in general it would be “twice as secure”