TGViewer
C++ - Reddit C++ - Reddit @r_cpp · 228 subscribers
Post #24078 21
Which is better for C/C++ development ? Linux or Windows

i know this is an already heavily discussed topic but throughout all the conversations i've seen most of them just mention surface level stuff like package managers and IDEs, but not so much about practical development ?

am currently using linux but i think that was a massive mistake and here's why:

package management; specifically in the c/c++ world the most common and reliable tool is vcpkg, which is cross platform right now and all, BUT after using it on linux i realized when using older packages (8+ years ago) they actually don't consider linux because it wasn't cross platform initially it was windows only, so that's a + for windows (although not a really big deal). You can also use winget, mingw or chocoletey for managing packages on windows.

abi stability; windows focus on backwards compatibility and stable ABI is another big + where as different linux distros constantly shifting core libraries like glibc/libstdc++, this stability allows different libraries to safely make assumptions about your environment because they only have to consider some windows versions, where as linux as i said lots of distros, lots of versions, lots of combinations making near perfect compatibility for every single distro impossible.

cross platform support; in windows if you need a linux environment you can simply use wsl or docker, easily building different libraries or testing on linux, where as support the other way around is virtually non existent there is no "linux subsystem for windows" or equivalent.

the nature of a professional workspace vs open source; microsoft is a massive company that can make software and make it work well, where as open source although impressive and it also is also very sophisticated, it simply can't match a professional workspace, because if something is needed in windows or a bug happens in wsl, engineers are forced to fix it, where as an open source bug, they aren't forced to fix anything open source contribution is optional, this is not the best point but it highlights a subtle difference.


I've been thinking about this topic for sometime now and wondering whether i should go back to windows if am not missing anything and if my statements are accurate, and indeed stability is better on windows i'll make this switch but i wanna make sure am not missing anything.


There is more to talk about but i think these are the most important points. Please correct me if am wrong or if am missing anything, because when i was starting i heard people saying for c/c++ dev linux is king but it doesn't seem like it ?

https://redd.it/1o9heqs
@r_cpp
Reddit From the cpp community on Reddit Explore this post and more from the cpp community
More from @r_cpp
  1. Oct 14, 2026I tested whether a coding agent would use C++23 ranges without being told Blog post: https…
  2. Oct 14, 2026C++ futures part 1: The mental model https://devblogs.microsoft.com/oldnewthing/20261012-0…
  3. Oct 14, 2026C++ futures part 2: The mental model for std::promise, std::packaged_task https://devblogs…
  4. Oct 12, 2026[Release] slick-logger v2.2.0 — Lock-free asynchronous C++20 logging with multi-process sh…
  5. Oct 12, 2026Cheap alternative to reboot parameters (nohz, rcu, isolcpus) for stable benchmarks When no…
  6. Oct 12, 2026This C++ drama is crazy - Adobe votes no https://www.youtube.com/watch?v=DEqx_NMMH9Q https…
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook →Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 →