10 ms·
Fair point, but I sometimes wonder if there are even any web developers left who use Windows as their main platform. The one thing that has probably changed mos
by flohofwoe 4y ago
Fair point, but I sometimes wonder if there are even any web developers left who use Windows as their main platform. The one thing that has probably changed most in the last 15 years is that Windows isn't the center of the (coding) universe anymore. And (from what I can tell), Windows support with node.js isn't perfect either, otherwise tools like rimraf wouldn't be needed.
- jpambrun 4y agoI hate it but where I work WSL is not allowed and Docker requires continuously renewed exceptions.. InfoSec/IT says they can't see what we (or malware..) are doing within..
- throwaway0asd 4y agoIf you are developing for the web what difference does the OS make? Web technologies work the same on any OS
- CapsAdmin 4y agoWhile the final output should be the same, the development tools are not and that's really where all the subtle problems are. One of the reason WSL exists is to solve this problem. (assuming bun doesn't work on native windows but works under wsl)
- vips7L 4y agoWSL has its own pain points. It’s not the catch all solution everyone claims it to be.
- pmontra 4y agoSometimes the target OS for deployment matters. Obvious case I run into: a deploy broke because a developer using Windows didn't realize he had some MiXeD case file name with the wrong capital letter. The Linux OS on the production system noticed. Sometimes it's the availability of native modules. They tend to exist for Linux, because it's the target for deployment, and sometimes not for Windows.
- davidmurdoch 4y agoBasic CI tests should catch those cases.
- pmontra 4y agoThe file names yes, modules are catched at development time. "We can't use PackageX because it doesn't exist for Windows and Joe won't be able to run the project anymore." A VM first and WSL2 now solved much of those problems, which leaves us at why bothering with Windows in this kind of business tough.
- 542458 4y agoAs a web dev, my choice of OS influences: * What IDEs/editors I have access to * What image editing tools I have access to * How easy it is to get my server’s backend running on my local machineas a dev environment The last one is most relevant to this conversation. If I’m working on a bun-based project, not being able to run a local dev copy on Windows easily is a nontrivial obstacle.
- flohofwoe 4y agoMainly subtle differences around command line tools and the file system. There are UNIX cmdline tools collections for Windows (like busybox) running in the vanilla cmd.exe or Powershell, but they don't quite fit in (for instance the way how string escaping and cmdline argument parsing works). You can use bash in a mingw 'UNIX emulator', but then you can just as well switch to WSL. And those little things propagate and amplify upward into toolchains and workflows. It's possible to create command line tools that work across Windows and UNIX-oids, and I appreciate this, but it's a lot of additional work (even 'cross-platform' solutions like Python don't fully wrap this stuff, even though they do their best).
- ripley12 4y ago> it's a lot of additional work FWIW, I have been remarkably impressed with Rust for this. The stdlib and package ecosystem are unusually good at building abstractions that work across *nix and Windows, and so the average command line tool written in Rust usually has good Windows support. Of course, the additional work hasn't really gone away - it's just been relegated to libraries unusually effectively :)
- tyingq 4y agoLots of little gotchas if you don't at least do a fair amount of testing on Windows, since that's what most of your end users (usually) will be on. Things like "www-authenticate: Negotiate" in an SSO environment, people pasting rich text into web forms, handling environments with private certificate authorities, and so on.
- searchableguy 4y agoYou cannot install safari on Windows and Linux. If you want to support apple users, you need to get a mac. Safari often has bugs and rendering issue which aren't present on Chromium or Firefox and need fallback.
- password4321 4y agoNot Safari, but WebKit: https://build.webkit.org/ https://build.webkit.org/
- Zardoz84 4y agoWindows it's painful slow to do anything.
- Tade0 4y ago> Fair point, but I sometimes wonder if there are even any web developers left who use Windows as their main platform. I kind of have to as of late, because due to corporate security policy I get around a minute of internet access from WSL and then the antivirus steps in and blocks it.
- tyingq 4y agoIf that's because you're using wsl-vpnkit, you might want to see this commit: https://github.com/sakai135/wsl-vpnkit/commit/94a85aaf4db36537985ff788f8653fbf6f0be4c4 https://github.com/sakai135/wsl-vpnkit/commit/94a85aaf4db365...
- mastazi 4y agoThis might be the case in your specific social circle, but it doesn't seem to be generally true https://survey.stackoverflow.co/2022/#section-most-popular-technologies-operating-system https://survey.stackoverflow.co/2022/#section-most-popular-t...
- M4v3R 4y agoWe are talking about web development, while the survey you linked is about all software developers. No one argues that Windows is king in software development world in general, but for web development I would argue Linux/Mac duo is way more popular.
- mark_and_sweep 4y agoAny data to support this claim? I'd argue the opposite: Especially in web dev, Windows is king since most people, including semi-professionals, do some sort of web dev.
- mastazi 4y ago> No one argues that Windows is king in software development world in general, but for web development But given that the majority of developers are web developers[1], how can that be the case? [1] including, unsurprisingly, the respondents to that survey https://survey.stackoverflow.co/2022/#developer-roles-dev-type https://survey.stackoverflow.co/2022/#developer-roles-dev-ty...
- flohofwoe 4y agoI'm coming out of the game development 'social circle' which is still a Windows fortress, but even there the wall is slowly cracking ;) In general I notice more and more that 'new peeps' are not automatically familiar with Windows, but instead started to tinker with programming on Linux.
- infamia 4y agoThose numbers are all developers overall. In the Django developers survey (i.e. web only), Windows is just above 10%. The most used platform is Linux (42%), Mac 32%, Windows with WSL (i.e. Linux in a VM) 17%, and straight up Windows is a paltry 12%. In other web frameworks the numbers are likely worse, since Django has a pretty good Windows support. https://medium.com/codex/jetbrains-django-developer-survey-results-explained-211c06237a34 https://medium.com/codex/jetbrains-django-developer-survey-r...
- sanitycheck 4y agoI swapped between Windows and Linux (Mint/Pop) for a while because quite a lot of JS ecosystem things were problematic on Windows. WSL2 has solved most of those problems though. I have bad luck with Macs, getting dev tools properly installed seems as hard as on Windows and everything falls apart a few times a year. The OS also seems to break itself and crawl to a halt sometimes (>1 minute to open settings). Linux distros were stable only if I can stayed on the happy path (single monitor, integrated graphics, don't try to sleep/hibernate) with close to default config. Windows can seemingly tolerate a lot more fiddling, at least since 7.
- andrew_ 4y agoHealth care, logistics, law, finance, retail - there are a number of major industries that all still use Windows as primary. I have a good friend working in tech for Walmart, and another for a major hedge fund; both are Windows shops. It's naive to assume that Windows isn't prolific. There's probably no good way to quantify numbers, but it's a major player still and likely always will be. WSL certainly helped keep that a reality.
- tyingq 4y ago>if there are even any web developers left who use Windows as their main platform There's quite a lot of developers at stodgy Fortune 500 non-tech companies that are sort of forced to use Windows for development. Either explicitly, or though poor enterprise support (vpn connectivity, local admin restrictions, difficult path to purchase a Mac, etc). It's one reason things like Gitbash, WSL, Docker Desktop, etc, are very popular.
- rr808 4y ago> There's quite a lot of developers at stodgy Fortune 500 non-tech companies "Quite a lot"? There are more developers at Fortune 500 than FAANG for sure.
- mr_toad 4y ago> There's quite a lot of developers at stodgy Fortune 500 non-tech companies that are sort of forced to use Windows for development. In that sort of company it’d take 2 years to get approval to install it anyway. If you submit the paperwork now there’ll probably be a windows port by the time it’s approved.
- paavohtl 4y ago> And (from what I can tell), Windows support with node.js isn't perfect either, otherwise tools like rimraf wouldn't be needed. I don't see how rimraf is related in any way. If you want to remove folders by calling a shell command (with full knowledge of all potential security and portability risks), your code is going to be platform dependent - it's not Node's responsibility to reimplement bash and/or GNU coreutils to make it magically work. Therefore, you need a Node re-implementation of the same functionality, either in the standard library or as a package. And besides, rimraf has been unnecessary for a couple of years now, as Node's standard library includes a direct replacement: https://nodejs.org/docs/latest/api/fs.html#fsrmsyncpath-options https://nodejs.org/docs/latest/api/fs.html#fsrmsyncpath-opti....
- ledgerdev 4y agoIt might not seem like it but a vast majority of developers exist outside of hacker news sphere and have no doubt that windows is by far the most popular dev platform. WSL2 is making this a lot easier to use linux though.
- AlfeG 4y agoI'm working in web Dev for a decade. Yet have to see at least single Dev using linux. Have seen several working on Mac, both designers to QA. Strictly speaking I'm a bit biased, cause work in . net stack. But still.
- Huppie 4y agoSame here. Lots of .NET software around in my country, and most of it isn't on .NET Core yet (and having done it once, migrating away from .NET Framework isn't always easy... though it did get easier with .NET 5)
- MBCook 4y agoYes. My entire company. And it’s not some little 5 person shop. They starred that way long ago and continue to this day.
- CryptoBanker 4y agoThere are two developers on my team who have the option of using the latest Mac laptops but still insist on using Windows Think Pads