Very interesting and understandable explanations of low level architecture and filesystems, namespaces, userspace, kernel functions, drivers etc.

Highly recommend!

  • massivefailure@lemm.ee
    link
    fedilink
    arrow-up
    3
    arrow-down
    11
    ·
    8 months ago

    Right here, is what I’m talking about. People believe that the code/language itself is inherently safe/secure or unsafe depending on what you choose and that’s wrong. It’s what the programmer does with that code that makes it safe or unsafe, secure or insecure. You can have the best designed and engineered materials on the planet and people are still going to be able to make things that will fall over and cause massive disasters with it. Stop bowing down to freaking Rust as if it’s the damn savior of computing and programming. In the end, it’s just another language and one another step removed from low level computing where it’s easiest to deal with hardware-level and basic functionality systems at a huge cost.

    • boredsquirrel@slrpnk.netOP
      link
      fedilink
      arrow-up
      11
      ·
      8 months ago

      This means there are C functions that are documented and used, but insecure.

      In Rust there is simply an enforcement of certain conventions, which will make code cleaner and prevent a whole class of errors.

      • massivefailure@lemm.ee
        link
        fedilink
        arrow-up
        1
        arrow-down
        6
        ·
        8 months ago

        No one who knows anything about C uses insecure functions without having a good reason and a good foundation around them to keep them secure. The functions are there to allow C to have maximum flexibility and low-level access to a system. For the most part, these shouldn’t be used, and any decent C programmer knows that. Comparing that with Rust where people think the entire language is inherently safe and has zero awareness of what they might be doing is laughably insecure is the heart of the problem.

        Been programming longer than most of you have been alive, kids. Keep on defending your hacked together tricycle language and then crying when you manage to tip it over because of your overconfidence.