Hacker news

  • Top
  • New
  • Past
  • Ask
  • Show
  • Jobs

Go-legacy-winxp: Compile Golang 1.24 code for Windows XP (https://github.com)

137 points by Oxodao 6 days ago | 76 comments | View on ycombinator

OsrsNeedsf2P 2 days ago |

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

deniska 2 days ago |

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

nasretdinov 2 days ago |

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.

metaPushkin 1 day ago |

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.

legacybuilder 2 days ago |

itopaloglu83 1 day ago |

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.

parhamn 2 days ago |

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

This was interesting!

larodi 2 days ago |

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?

Lord_Zero 2 days ago |

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

godudewinxp about 22 hours ago |

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