| > I hope I don't need to point out the hypocrisy here. I don't think you have finished reading all the comments around this whole 'Ask HN' post with more comments here recommending either 'Windows', and 'macOS' over 'Linux' as their 'main desktop' to develop 'on'. > You already concede that WSL2 is needed to make Windows a viable development environment. Now where did I say that? WSL2 isn't used for targeting desktop apps for Windows, it is used for developers that want to easily target Linux or testing their apps on Linux by NOT going through the process of clean installing, dual booting, migrating files to an entire separate Linux desktop environment to do that, which that is the use-case to run both Windows as the main system and Linux as the guest. With this one can easily develop or test and target typical desktop apps on a Windows machine without switching, dual booting, etc which is what I am talking about and the same is true for macOS which developers use to target for macOS desktop apps. So you have a more integrated consistent developer / desktop experience where the desktop works with the developer rather than the developer wasting time fighting with their computer and they end up distro-hopping for years rather than getting work done. > Linux is a terrible desktop... That is all the OP needs to know. Everything else beyond that sentence is irrelevant. If they cannot use the desktop then it is pointless to recommend it as a 'developer-friendly environment' or even begin clean installing it just for a worse desktop experience for the developer, which for GUI desktop apps, there are little to no users to target compared to the likes of macOS and Windows. |
I wasn't responding to all of the comments. I was responding to you.
> With this one can easily develop or test and target typical desktop apps on a Windows machine without switching, dual booting, etc
That was totally possible before. VM passthrough works fine, (even "natively" with VMWare's software), and mingw is perfectly capable of native cross-compilation. WSL is neat, but it's not any more advanced than what Chromebooks have had for years. Hell, it's barely more impressive than MacOS' POSIX compliance.
> there are little to no users to target compared to the likes of macOS and Windows.
You can cross-compile MacOS and Windows apps on Linux just fine (done it many times before). Of course, you can also target webdev and mobile devices, as well as Docker, Kubernetes and other service-oriented software. But you're right, writing Fart Simulator for iOS is where all the real money is. I'll defer to your opinion rather than the thousands of people on this very site making money off headless Linux servers.
> That is all the OP needs to know.
Sure, if they don't want to write system services, self-hosted websites, self-custody backends, databases, Kubernetes clusters, CI/CD pipelines, Docker containers or test DevOps services locally, then that is all they need to know about Linux. They should focus on the actual breadwinners, like getting their 70% from the App Store.