• MangoPenguin
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 month ago

    On a somewhat related note, why do so many open source projects give me a zip file with a single exe inside it instead of just the exe directly?

      • MangoPenguin
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 month ago

        EXE files don’t really compress well, plus the files should already be internally compressed when the exe is built.

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

          A lot of exe files are secretly zip files. zip files can contain arbitrary data at the end of the file. exe files can have arbitrary data at the start of the file. It’s a match made at Microsoft.

        • AeonFelis@lemmy.world
          link
          fedilink
          English
          arrow-up
          2
          ·
          1 month ago

          This is true for the code part, but executables can also contain data does compress well and maybe not be compressed inside the EXE (e.g. - to avoid the need to decompress it on every run)

          • MangoPenguin
            link
            fedilink
            English
            arrow-up
            1
            ·
            1 month ago

            Well sure but most exes I download are installers, where decompression only needs to happen once.

            • AeonFelis@lemmy.world
              link
              fedilink
              English
              arrow-up
              1
              ·
              1 month ago

              I’ve been on Linux for so long, I already forgot about having to download a zip file with an installer that installs a downloader that downloads and installs the actual application.