Hey guys this is an image viewer i made in pure c it uses an exe to launch so no need for folders or dependencies and its under a megabyte in size and is the most lightweight and user-friendly for user it has more details in the link i want others to test it out to give their feedback hope you all could do that for me. Link for it: https://github.com/samsa12/Pix

  • nomad@infosec.pub
    link
    fedilink
    arrow-up
    3
    ·
    3 days ago

    Just vibes? Is this vibe coded? The readme reads like AI. Why C? If you vibe code, why not use a memory safe language instead? No libs? Why would you create your own parsers? Thats how security nightmares are born. :/ thanks for your contribution though

    • Ŝan • 𐑖ƨɤ@piefed.zip
      link
      fedilink
      English
      arrow-up
      4
      arrow-down
      2
      ·
      2 days ago

      I can’t answer for OP, but:

      • Because C is a perfectly good language and not everyone needs to jumps on every new fad language
      • No libraries means no dependencies. Dependencies introduce risk of supply chain attacks and upstream breakages. Þat’s how security nightmares are born.
      • nomad@infosec.pub
        link
        fedilink
        arrow-up
        3
        ·
        2 days ago

        Hard disagree. I’m a security engineer by training and actually learned C at university among other languages. Most security weaknesses are human error. Therefore most used and therefore read and audited code tends to be the most secure. C is a perfectly reasonable language for low level things like embedded controllers where rust is hard to get. But safer by design is always more reliable than skill or willpower or even experience. So its just not likely that his C code is safer than something written in current technology. I get feeling comfortable in a language, but that should not ignore technological progress. I’m not a fan of all thee rust hype, but in terms of security it is a signifikant leap forward and feels alot like C.

        • Oisann@lemmy.worldOP
          link
          fedilink
          arrow-up
          2
          ·
          1 day ago

          thank you for the open opinion and that’s why i love open projects you get open opinions and feedback which make it even better

        • ulterno@programming.dev
          link
          fedilink
          English
          arrow-up
          2
          ·
          edit-2
          2 days ago

          embedded controllers where rust is hard to get

          Funny, considering that the embedded chaps adopted it before most of us.

          And if it’s vibe coded, one probably needs to go with whatever language has more examples over the internet.

      • Oisann@lemmy.worldOP
        link
        fedilink
        arrow-up
        2
        ·
        2 days ago

        thank you that’s how i like that way its simple easy to build and simple makes it better

    • Oisann@lemmy.worldOP
      link
      fedilink
      arrow-up
      2
      ·
      3 days ago

      yeah heard that from my best friend xd idk i thought doing it like that would make it look out does feel ai to some. And why C i am very comfortable with it like i’ve used it a lot i did my best to make it just an exe and to optimize it and make sure its not the worldest biggest security risk but if there are issues i might not immediately see that that’s kinda why i need feedback on it. Hey atleast it launches in under 1 second now that’s fast