Beehaw
  • Communities
  • Create Post
  • search
    Search
  • Login
  • Sign Up
codeinabox ( codeinabox@programming.dev )  to Programming@programming.devEnglish · 6 months ago

Every dependency you add is a supply chain attack waiting to happen

benhoyt.com

external-link
message-square
25
link
fedilink
  • cross-posted to:
  • lobsters@lemmy.bestiver.se
104
external-link

Every dependency you add is a supply chain attack waiting to happen

benhoyt.com

codeinabox ( codeinabox@programming.dev )  to Programming@programming.devEnglish · 6 months ago
message-square
25
link
fedilink
  • cross-posted to:
  • lobsters@lemmy.bestiver.se
Dependencies are a huge supply chain security risk; the more of them you have, and the more often you update, the bigger the attack surface.
  • GiorgioPerlasca ( GiorgioPerlasca@lemmy.ml ) 
    link
    fedilink
    arrow-up
    7
    ·
    6 months ago

    Favour programming languages with a good and stable standard library.

    • FizzyOrange ( FizzyOrange@programming.dev ) 
      link
      fedilink
      arrow-up
      2
      ·
      6 months ago

      I think the only mainstream language with a standard library that is both good and comprehensive is Go. All of the others either have smaller standard libraries (e.g. Rust) or poorly designed ones (Python).

      • GiorgioPerlasca ( GiorgioPerlasca@lemmy.ml ) 
        link
        fedilink
        arrow-up
        2
        ·
        6 months ago

        Java, .net and C++ have standard libraries that are much bigger and much more battle tested than the one of Go.

        • FizzyOrange ( FizzyOrange@programming.dev ) 
          link
          fedilink
          arrow-up
          3
          ·
          6 months ago

          I haven’t used Java for decades and never used .net so I’ll take your word for those. Absolutely not for C++ though.

          Go’s standard library has:

          • JSON, XML, etc.
          • A web client and server
          • Bigints
          • Logging
          • JPEG, PNG and GIF
          • SQL client
          • SSH client
          • All the crypto algorithms
          • Gzip, zlib, deflate, etc.

          C++ has none of that. Hell C++ only got a function to check if a string starts with a prefix a few years ago.

Programming@programming.dev

programming@programming.dev

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !programming@programming.dev

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person’s post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you’re posting long videos try to add in some form of tldr for those who don’t want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 118 users / day
  • 336 users / week
  • 1.68K users / month
  • 4.15K users / 6 months
  • 449 local subscribers
  • 28.6K subscribers
  • 2.93K Posts
  • 22.9K Comments
  • Modlog
  • mods:
  • snowe ( snowe@programming.dev ) 
  • Ategon ( Ategon@programming.dev ) 
  • UlrikHD ( UlrikHD@programming.dev ) 
  • bugsmith ( bugsmith@programming.dev ) 
  • Spyro ( Spyro@programming.dev ) 
  • BE: 0.19.15
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code