Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Cyborg)
  • No Skin
Collapse
Brand Logo

CIRCLE WITH A DOT

  1. Home
  2. Uncategorized
  3. I like how Windows managed the 32bit/64bit migration in the most sensible way, by making us pick from two copies of every installer/binary forever

I like how Windows managed the 32bit/64bit migration in the most sensible way, by making us pick from two copies of every installer/binary forever

Scheduled Pinned Locked Moved Uncategorized
37 Posts 20 Posters 1 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • foone@digipres.clubF This user is from outside of this forum
    foone@digipres.clubF This user is from outside of this forum
    foone@digipres.club
    wrote last edited by
    #1

    I like how Windows managed the 32bit/64bit migration in the most sensible way, by making us pick from two copies of every installer/binary forever

    foone@digipres.clubF lykrast@eldritch.cafeL autinerd@chaos.socialA wyatt@soc.megatokyo.moeW cinebox@masto.hackers.townC 6 Replies Last reply
    1
    0
    • foone@digipres.clubF foone@digipres.club

      I like how Windows managed the 32bit/64bit migration in the most sensible way, by making us pick from two copies of every installer/binary forever

      foone@digipres.clubF This user is from outside of this forum
      foone@digipres.clubF This user is from outside of this forum
      foone@digipres.club
      wrote last edited by
      #2

      I know programmers who use fat binaries and they're all cowards

      benjistokman@mast.benstokman.meB foone@digipres.clubF mxk@hachyderm.ioM 3 Replies Last reply
      0
      • foone@digipres.clubF foone@digipres.club

        I know programmers who use fat binaries and they're all cowards

        benjistokman@mast.benstokman.meB This user is from outside of this forum
        benjistokman@mast.benstokman.meB This user is from outside of this forum
        benjistokman@mast.benstokman.me
        wrote last edited by
        #3

        @foone that's what Mac programs do now. They just package amd64 and armv8 together.

        foone@digipres.clubF 1 Reply Last reply
        0
        • foone@digipres.clubF foone@digipres.club

          I like how Windows managed the 32bit/64bit migration in the most sensible way, by making us pick from two copies of every installer/binary forever

          lykrast@eldritch.cafeL This user is from outside of this forum
          lykrast@eldritch.cafeL This user is from outside of this forum
          lykrast@eldritch.cafe
          wrote last edited by
          #4

          @foone and then having people name them x86 and x64 for clarity

          1 Reply Last reply
          0
          • foone@digipres.clubF foone@digipres.club

            I like how Windows managed the 32bit/64bit migration in the most sensible way, by making us pick from two copies of every installer/binary forever

            autinerd@chaos.socialA This user is from outside of this forum
            autinerd@chaos.socialA This user is from outside of this forum
            autinerd@chaos.social
            wrote last edited by
            #5

            @foone thanks to arm64 its now three 🤪

            1 Reply Last reply
            0
            • foone@digipres.clubF foone@digipres.club

              I like how Windows managed the 32bit/64bit migration in the most sensible way, by making us pick from two copies of every installer/binary forever

              wyatt@soc.megatokyo.moeW This user is from outside of this forum
              wyatt@soc.megatokyo.moeW This user is from outside of this forum
              wyatt@soc.megatokyo.moe
              wrote last edited by
              #6
              @foone fat binaries? that sounds too complicated
              1 Reply Last reply
              0
              • benjistokman@mast.benstokman.meB benjistokman@mast.benstokman.me

                @foone that's what Mac programs do now. They just package amd64 and armv8 together.

                foone@digipres.clubF This user is from outside of this forum
                foone@digipres.clubF This user is from outside of this forum
                foone@digipres.club
                wrote last edited by
                #7

                @benjistokman yeah! because their OS was designed by non-maniacs!

                1 Reply Last reply
                0
                • foone@digipres.clubF foone@digipres.club

                  I know programmers who use fat binaries and they're all cowards

                  foone@digipres.clubF This user is from outside of this forum
                  foone@digipres.clubF This user is from outside of this forum
                  foone@digipres.club
                  wrote last edited by
                  #8

                  technically windows does use fat binaries, they're just DOS/windows.

                  which is really only ever used to display a "you need windows to run this program" if you accidentally run it in DOS.

                  foone@digipres.clubF dalias@hachyderm.ioD cinebox@masto.hackers.townC cr1901@mastodon.socialC 4 Replies Last reply
                  0
                  • foone@digipres.clubF foone@digipres.club

                    technically windows does use fat binaries, they're just DOS/windows.

                    which is really only ever used to display a "you need windows to run this program" if you accidentally run it in DOS.

                    foone@digipres.clubF This user is from outside of this forum
                    foone@digipres.clubF This user is from outside of this forum
                    foone@digipres.club
                    wrote last edited by
                    #9

                    I wonder if it still does that for 64bit EXEs?

                    luna@catgirl.centerL jernej__s@infosec.exchangeJ 2 Replies Last reply
                    0
                    • foone@digipres.clubF foone@digipres.club

                      technically windows does use fat binaries, they're just DOS/windows.

                      which is really only ever used to display a "you need windows to run this program" if you accidentally run it in DOS.

                      dalias@hachyderm.ioD This user is from outside of this forum
                      dalias@hachyderm.ioD This user is from outside of this forum
                      dalias@hachyderm.io
                      wrote last edited by
                      #10

                      @foone But you *can* use that for so much more.... 😈

                      gsuberland@chaos.socialG 1 Reply Last reply
                      0
                      • foone@digipres.clubF foone@digipres.club

                        I like how Windows managed the 32bit/64bit migration in the most sensible way, by making us pick from two copies of every installer/binary forever

                        cinebox@masto.hackers.townC This user is from outside of this forum
                        cinebox@masto.hackers.townC This user is from outside of this forum
                        cinebox@masto.hackers.town
                        wrote last edited by
                        #11

                        @foone don’t forget the software that also has arm64 binaries!

                        1 Reply Last reply
                        0
                        • foone@digipres.clubF This user is from outside of this forum
                          foone@digipres.clubF This user is from outside of this forum
                          foone@digipres.club
                          wrote last edited by
                          #12

                          64bit windows EXE, being run in DOSBox-X:

                          Link Preview Image
                          foone@digipres.clubF 1 Reply Last reply
                          0
                          • foone@digipres.clubF foone@digipres.club

                            technically windows does use fat binaries, they're just DOS/windows.

                            which is really only ever used to display a "you need windows to run this program" if you accidentally run it in DOS.

                            cinebox@masto.hackers.townC This user is from outside of this forum
                            cinebox@masto.hackers.townC This user is from outside of this forum
                            cinebox@masto.hackers.town
                            wrote last edited by
                            #13

                            @foone surely NTFS binaries are more common these days

                            1 Reply Last reply
                            0
                            • foone@digipres.clubF foone@digipres.club

                              64bit windows EXE, being run in DOSBox-X:

                              Link Preview Image
                              foone@digipres.clubF This user is from outside of this forum
                              foone@digipres.clubF This user is from outside of this forum
                              foone@digipres.club
                              wrote last edited by
                              #14

                              fun fact: although that DOS stub usually just says that and quits, there's nothing that stops it from doing other things.

                              You could write a program that runs on DOS and win64, it'd just need to be implemented twice and embedded in the same binary

                              foone@digipres.clubF dosnostalgic@mastodon.socialD dryak@mstdn.scienceD kawa@mas.toK 4 Replies Last reply
                              0
                              • foone@digipres.clubF foone@digipres.club

                                technically windows does use fat binaries, they're just DOS/windows.

                                which is really only ever used to display a "you need windows to run this program" if you accidentally run it in DOS.

                                cr1901@mastodon.socialC This user is from outside of this forum
                                cr1901@mastodon.socialC This user is from outside of this forum
                                cr1901@mastodon.social
                                wrote last edited by
                                #15

                                @foone I feel like I remember certain Win 3.x binaries also prepending a DOS executable of the same program, so that the same binary runs on both systems.

                                But Win 3.x isn't PE. So maybe I'm misremembering.

                                1 Reply Last reply
                                0
                                • foone@digipres.clubF foone@digipres.club

                                  fun fact: although that DOS stub usually just says that and quits, there's nothing that stops it from doing other things.

                                  You could write a program that runs on DOS and win64, it'd just need to be implemented twice and embedded in the same binary

                                  foone@digipres.clubF This user is from outside of this forum
                                  foone@digipres.clubF This user is from outside of this forum
                                  foone@digipres.club
                                  wrote last edited by
                                  #16

                                  so you could fat-binary a program to run on DOS/win32/win64 this way, by making it a 32bit program which win64 can run though backwards compatibility.

                                  I'm not sure if you can include win16 though: it won't run the DOS stub, and it'll not be able to run the win32 version.

                                  Unless you can set up win32s on win16 in such a way that it works in both 16bit windowses (through win32s) and 32bit-native windowses

                                  max@peering.socialM kathee_hds@tech.lgbtK foone@digipres.clubF jernej__s@infosec.exchangeJ 4 Replies Last reply
                                  0
                                  • foone@digipres.clubF foone@digipres.club

                                    I wonder if it still does that for 64bit EXEs?

                                    luna@catgirl.centerL This user is from outside of this forum
                                    luna@catgirl.centerL This user is from outside of this forum
                                    luna@catgirl.center
                                    wrote last edited by
                                    #17

                                    @foone@digipres.club it's even still a thing in arm64 exes (iirc with an x86 dos stub) and bootmgfw.efi, even though no reasonable person will ever try to run those on dos

                                    luna@catgirl.centerL 1 Reply Last reply
                                    0
                                    • dalias@hachyderm.ioD dalias@hachyderm.io

                                      @foone But you *can* use that for so much more.... 😈

                                      gsuberland@chaos.socialG This user is from outside of this forum
                                      gsuberland@chaos.socialG This user is from outside of this forum
                                      gsuberland@chaos.social
                                      wrote last edited by
                                      #18

                                      @dalias @foone I wrote a really evil CTF challenge where the Windows part was pure misdirection, it had tons of nasty anti-analysis stuff, sent people on a runaround chasing down endless threads, and the flag wasn't in there at all. if you ran it under DOS it printed the flag.

                                      foone@digipres.clubF 1 Reply Last reply
                                      0
                                      • gsuberland@chaos.socialG gsuberland@chaos.social

                                        @dalias @foone I wrote a really evil CTF challenge where the Windows part was pure misdirection, it had tons of nasty anti-analysis stuff, sent people on a runaround chasing down endless threads, and the flag wasn't in there at all. if you ran it under DOS it printed the flag.

                                        foone@digipres.clubF This user is from outside of this forum
                                        foone@digipres.clubF This user is from outside of this forum
                                        foone@digipres.club
                                        wrote last edited by
                                        #19

                                        @gsuberland @dalias nasty

                                        1 Reply Last reply
                                        0
                                        • foone@digipres.clubF foone@digipres.club

                                          so you could fat-binary a program to run on DOS/win32/win64 this way, by making it a 32bit program which win64 can run though backwards compatibility.

                                          I'm not sure if you can include win16 though: it won't run the DOS stub, and it'll not be able to run the win32 version.

                                          Unless you can set up win32s on win16 in such a way that it works in both 16bit windowses (through win32s) and 32bit-native windowses

                                          max@peering.socialM This user is from outside of this forum
                                          max@peering.socialM This user is from outside of this forum
                                          max@peering.social
                                          wrote last edited by
                                          #20

                                          RE: https://digipres.club/@foone/116195447625031209

                                          @foone Does ARM somehow also fit in?

                                          foone@digipres.clubF jernej__s@infosec.exchangeJ snowfox@tech.lgbtS 3 Replies Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups