• FizzyOrange@programming.dev
    link
    fedilink
    arrow-up
    17
    arrow-down
    1
    ·
    1 month ago

    Unless the binary size difference is insane, who would say “oh well we were going to pick the library that wasn’t riddled with security issues but we decided to save 2MB instead, hope that makes you feel better about your $12m cybersecurity fine!”.

    • KamikazeRusher@lemm.ee
      link
      fedilink
      arrow-up
      4
      ·
      1 month ago

      There are only going to be edge-cases where the binary size will really cause headache. Individual projects probably won’t worry too much about a size difference if it’s less than 10-20MB.

      • JoYo
        link
        fedilink
        English
        arrow-up
        4
        arrow-down
        2
        ·
        1 month ago

        my whole career is those edge cases

        • KamikazeRusher@lemm.ee
          link
          fedilink
          arrow-up
          7
          ·
          1 month ago

          I don’t doubt that some places care about a 1MB size difference. After all, some embedded systems with limited storage need every megabyte they can spare.

    • JoYo
      link
      fedilink
      English
      arrow-up
      4
      arrow-down
      3
      ·
      1 month ago

      yes, i know people that will pay 12m to save 2mb.