oxen-io / lokinet

Lokinet is an anonymous, decentralized and IP based overlay network for the internet.
https://lokinet.org/
GNU General Public License v3.0
1.72k stars 220 forks source link

Add support for windows development using Visual studio #2083

Open varsnotwars opened 1 year ago

varsnotwars commented 1 year ago

This could help with contributions. Visual Studio is also great for c++ dev.

jagerman commented 1 year ago

Visual Studio is also great for c++ dev.

Consider me triggered.

But first, let me say this: we are willing to consider patches to make it work in MSVC—and if it gets working we'll try not to deliberately break it—but it's not something that we are going to voluntarily undertake anytime soon.

The reason why is that MSVC is only great for C++ dev work if MSVC is your primary development environment. Windows devs don't seem to understand this point very well, in my experience: Microsoft's goals with MSVC are not to make a good C++ compiler, it is to suck people into MSVC and Windows and keep them there. This is in stark contrast to actual open source compilers that have neither desire nor incentive to lock you into their platforms.

In particular, MSVC presents all of these problems to an open source project like Lokinet:

Now, that said, I have heard that MSVC 2019, especially the later point updates, has improved the standards compliant situation considerably, and so it might well be less painful than it would have been 3 or 4 years ago. The years of buggy, dumpster fire releases that Microsoft forced onto people, however, deservedly give it a bad reputation that will last a long, long time for people who have had to deal with it in the past.