Windows API Is Successful Cross-Platform API

(retrocoding.net)

36 points | by phendrenad2 2 hours ago

7 comments

  • stkdump 2 minutes ago
    > In the real world, the internet is TCP/IP

    I guess he missed http3, which now makes up 35% of web traffic.

  • gregman1 28 minutes ago
    (2024)

    Interesting provocative article, I bet it will be praised on some Microsoft sponsored conference.

    Wine and Proton are not tributes to Win32's portability. They are symptoms of a desktop market that Microsoft locked hard enough that the rest of us had to reverse engineer our way out. Market damage, not collaboration.

    The ecosystem was not won on technical merit. OEM per-processor licensing, embrace-extend-extinguish against Java and the web, document format lock-in, and a long pattern of obstructing standardization attempts that would constrain Windows (PWI in 1994, ECMA-234 in 1995, OpenDocument later) while pushing their own through when it extended reach.

    No CS curriculum holds up Win32 as exemplary API design. No system copied it. A successful API earns adoption. Win32 enforced it.

    • drdaeman 18 minutes ago
      All true, but simultaneously, if you look at it not in the “how did we get here” but “what’s out there today” light, it’s an option that can run on a lot of platforms. Not by some particular merit but because history happened this way - but that’s not a problem with the technology itself.
      • bruce511 4 minutes ago
        I concur.

        The article defines "success" in the Windows context as being "available everywhere". It does not address how it got to that point.

        And sure, you might not like Microsoft, and you may not like how it became successful (using the above definition) but the fact that it is available everywhere is not in dispute.

        Of course most successful things have murky pasts. We don't necessarily agree with how it got there, but there it is. That is, at least in the technical sense irrelevant. You may prefer LP's or CD's, but streaming is now the successful way to get your music.

        That doesn't mean it's the only way though, and of course you are free to not use Windows programs, or play games via Steam etc. That is your choice.

  • YPPH 30 minutes ago
    There's something deeply satisfying about compiling a Win32 desktop application and knowing that single binary will run unmodified on essentially every Windows machine from XP onward, and look nearly identical doing it. High-DPI is the one real caveat, but even that's manageable with a manifest. I'm not sure any other platform-native API comes close to that combination of reach and consistency. Running them on other operating systems is really just a bonus.
  • tehologist 10 minutes ago
    Considering you can use 500 kilobyte distro of tcc that can self compile to build win32 apps and those versions will very easily run on wine. I think it is a valid point and a strategy I have used for sometime. Since windows can't decide what you should use for developing Windows apps
  • tehologist 8 minutes ago
    As an added bonus, since win32 is so old. AI is quite strong at generating code for it, I have even had success with qwen 3.5 1.5B parameters with win32 and opengl 1.1
  • wewewedxfgdf 15 minutes ago
    Hasn't it taken gargantuan multi decade efforts of hundreds of developers, multiple open source projects and the backing of major corporations to make it work at all, let alone well, on Linux?

    How is that successful cross platform?

    • throwaway27448 10 minutes ago
      Cuz there's good software written against it. And it doesn't need to be recompiled.

      Will I ever target it? No, I'd rather you rip my bones and eyes out. But it's unarguably successful.