Is this post AI-written? The repeated lists with highlighted key points, the "it's not just [x], but [y]" and "no [a] just [b]" scream LLM to me. It would be good to know how much of this post and this project was human-built.
Perhaps people have mimicked the style because LLMs have popularized it and clearly it serves some benefit to readers.
I fixed Windows native development
61–70 of 406 posts
Re: I fixed Windows native development
#62Re: I fixed Windows native development
#63Re: I fixed Windows native development
#64Visual studio is a dog but at least it's one dog - the real hell on windows is .net framework. The sheer incongruency of what version of windows has which version of .net framework installed and which version of .net your app will run in when launched... the actual solution at scale for universal windows compatibility on your .net app is to build a c++ shim that checks for .net beforehand and executes it with the correct version in the event of multiple version conflict - you can literally have 5 fully unique runtimes sharing the same .net target.
Re: I fixed Windows native development
#65Earlier quoted context omitted.
Exacly.. I avoid Visual Studio.. I try to build everthing using Mingw..
Clang is the better alternative to MinGW because it can use standard Windows libraries and avoids the need for additional runtime.
Additionally the cross-compiler on Linux also produces binaries with no extra runtime requirements.
Re: I fixed Windows native development
#66What we did for out build agents was to just install the required version of build tools via chocolatey. But cool approach!
Re: I fixed Windows native development
#67Re: I fixed Windows native development
#68Earlier quoted context omitted.
Clang is the better alternative to MinGW because it can use standard Windows libraries and avoids the need for additional runtime.
Can you actually do cross compilation (on Linux host to win64 binary) with clang in the same way as MingW does out of the box though?
LLVM doesn't come with the C library headers (VCRuntime) or the executable runtime startup code (VCStartup).Both of which are under Visual Studio proprietary licenses. So to use Clang on Windows without Mingw, you need Visual Studio.
Re: I fixed Windows native development
#69winget install Microsoft.VisualStudio.2022.BuildTools
Re: I fixed Windows native development
#70While this is great - Visual Studio installer has a set of "command-line parameters" for unattended installs. You can then build a script/documentation that isolates your specific requirements and workloads: https://learn.microsoft.com/en-us/visualstudio/install/use-c... Had to do this back in 2018, because I worked with a client with no direct internet access on it's DEV/build machines (and even when there was conne…