← Back to context

Comment by anon291

2 hours ago

Which is kind of insane when you think about it considering what a cluster fuck the win32 API is

Why is it a cluster fuck? When it's been virtually unchanged and stable for the past 30 or so years, which is how Winamp 2.95 can run on WIndows 11 today and how Wine can so easily run Windows games. Way better than Linux and Mac have historically provided for compatibility.

Still the most stable API on Linux

  • I still think that it’s one of the great ironies of our time.

    Linux itself bends over backwards to avoid breaking userland, to the point where there is a substantial amount of cruft when interacting directly with the kernel.

    Only for GNU to say “fuck that” and create a widely mockable situation, one of the worst targets of modern programs for stability… to the point where people start using alternative libc’s specifically to statically link them.

    What a monumental failure.

What?! Win32 is one of the best API ever designed. It’s pretty much the best part of windows

  • Not all parts of Win32 were designed equally well. File IO, process management and most of the threading primitivs have aged really well. Thread management hasn't. The GUI parts are a sometimes hacky mess because behavioral changes created mismatches between what functions were specified to do and what that gets actually translated to. Permissions are a pain in the butt with complex ACLs, transparent file access redirects and how process elevation works.