News for hackers. Stuff that matters.
Re:W64devkit – Portable C and C++ Development Kit for x64 Wi... by SloopJon on Friday September 25, 2020 @10:10AM (#24589875)
There are two interesting aspects to this. The first, which I initially thought was the point, is cross compiling programs for Windows using Mingw-w64 (a fork of MinGW) in a container. Actually, this is just used as a dependable way to build the second, which is a portable archive of a Mingw-w64 development environment; portable in the sense that you extract, add to PATH, and use without any other installation required.

Reading through the previous discussion, I think the biggest consideration for something like this is whether Mingw-w64 suffices for your needs.

https://news.ycombinator.com/item?id=23292161

The issue isn't whether the tools are capable enough, but whether they integrate well enough with the platform and any other dependencies your project may have. I'd be interested to hear from people who are using MinGW or Mingw-w64 on purpose. What works well, and what doesn't?

With Visual Studio Community, Microsoft has made its tools broadly accessible. However, if all you want is a compatible linker, this is in a lot of ways a regression from Visual C++ Express, which is no longer offered. Indeed, the compiler and linker used to be bundled in the freely available platform SDK. As someone responsible for testing C and C++ APIs, the licensing and packaging in Visual C++ 2019 will be a much bigger hassle than in previous versions.

Re:W64devkit – Portable C and C++ Development Kit for x64 Wi... by dleslie on Friday September 25, 2020 @10:34AM (#24590199)
Aren't the compiler, linker and build tools still available seperately? They just bundle them differently now.

https://devblogs.microsoft.com/cppblog/introducing-the-visua...

Re:W64devkit – Portable C and C++ Development Kit for x64 Wi... by SloopJon on Friday September 25, 2020 @10:57AM (#24590480)
Whereas some of the previous packages were freely available, the build tools now require a Visual C++ license, as I understand it. If you aren't eligible for Visual C++ Community, and you don't have Visual C++ Professional (or equivalent), you can't use them.
Re:W64devkit – Portable C and C++ Development Kit for x64 Wi... by asveikau on Friday September 25, 2020 @11:20AM (#24590726)
Not sure how huge an issue it is, but in the past I noticed that mingw does not support Structured Exception Handling (SEH). I think clang on Windows may have made some progress there.

Also I am not sure about certain c++ libraries that are useful for writing COM code, like ATL or its successors.