logoalt Hacker News

Go-legacy-winxp: Compile Golang 1.24 code for Windows XP

137 pointsby Oxodao01/12/202678 commentsview on HN

Comments

OsrsNeedsf2P01/15/2026

There's a surprisingly large Windows XP community; everything from security patches to browsers[0] to third party Discord clients[1].

[0] https://www.mypal-browser.org/ [1] https://github.com/DiscordMessenger/dm

show 4 replies
deniska01/15/2026

If you ever wanted to use a modern C and C++ compiler on windows xp, 32 bit version of w64devkit[1] does target it and provides a recent gcc version.

[1] https://github.com/skeeto/w64devkit

show 5 replies
nasretdinov01/16/2026

I wonder if some of those things can be solved via a shim DLL that provides the necessary missing WinAPI functions instead of modifying the source code. Although the number of changes required seems vanishingly small anyway, so either approach coukd work just fine.

legacybuilder01/15/2026

Dotnet 10 for Windows XP

https://github.com/kalnod/Win32Dotnet10Starter

metaPushkin01/16/2026

Since hardware prices have skyrocketed, it is very important to run software on low-end hardware and use a suitable operating system, such as Windows 7, whose support, amusingly, has been dropped by nearly every project recently. Backporting software to Windows 7 is something we must do, for our freedom and our wallets.

show 2 replies
parhamn01/15/2026

> Added back 5ms sleep on Windows 7/8 in (*Process).Wait (reverted f0894a0)

This was interesting!

itopaloglu8301/16/2026

Strangely, AutoHotKey v1.1 scripts when compiled in ANSI mode runs perfectly on Windows XP.

AHK came in very handy we needed a quick tool to track mill operators, roughly 20-30 lines of code and we had a working GUI app.

larodi01/16/2026

What applications are base on this? I mean it sounds super charming and nostalgic to drop a line or two which runs on WinXP, but is this actually useful?

show 1 reply
Lord_Zero01/16/2026

Is it hard to write software that compiles and can run on windows XP now? What about like rust and python?

show 2 replies
godudewinxp01/17/2026

sadly doesn't work on winxp x86 - just tried. not a valid win32 application.

show 1 reply