• kanzalibrary@lemmy.ml
    link
    fedilink
    arrow-up
    1
    arrow-down
    5
    ·
    11 months ago

    I just found myself that C is the worst programming language as many people say, but the security and simplicity is more than any language in security. Thank you so much for this!

    • TimeSquirrel@kbin.social
      link
      fedilink
      arrow-up
      9
      ·
      edit-2
      11 months ago

      Nobody:

      C: “Lemme just accept anything the user gives me, write beyond the input buffer, glitch out, and start executing whatever the fuck the user injects in there.”

      Still a decent language though, but like an oxy-acetylene torch, it’s powerful tool, but you better know what you’re doing.

    • krash@lemmy.ml
      link
      fedilink
      arrow-up
      1
      ·
      11 months ago

      How is C more secure than Rust? Doesn’t it lack features such as safe memory handling?

        • LeFantome@programming.dev
          link
          fedilink
          arrow-up
          5
          ·
          11 months ago

          In that talk he called C “the worst language” and said he chose it to troll the industry. How does that support your point?

          He also said that you should choose “least privilege” whenever possible. That is precisely the value that Rust brings over C. So how does that talk support the idea that C is more secure than Rust?

          • kanzalibrary@lemmy.ml
            link
            fedilink
            arrow-up
            1
            ·
            11 months ago

            I think you misunderstood or… don’t get the point “worst language” part from what he said. My point come from his point who’s more expert. If you think like that, what can I say? and I’m not trying convience you to understand too…

            Back to your knowledge and understanding. But at least for me, I agree with him that rust is ‘hype-like’ or ‘pop culture’ thing. Like cyrpto (he said in ask session), but from technical perspective, that I personally understand. I just lost the source to explain this, but it’s up to you…