News for hackers. Stuff that matters.
Re:The Front-End Developer's Guide to the Terminal by speedgoose on Friday April 22, 2022 @04:29PM (#31127646)
Windows is not great for NodeJs based dev stacks, which are very common for web development these days. Because JavaScript developers tend to write their development tools in JavaScript.

NodeJs is not great on windows because the packages/modules model uses many tiny files and the Windows filesystem, NTFS, is extremely slow for this kind of load. Another problem is compiling C/C++ NodeJS dependencies on windows. It’s possible but few people cares about it and it’s often a source of issues. And the last issue are the windows specific bugs in various packages.

The community that write the nodejs packages kinda doesn’t care about windows, and has no reasons to since WSL.

Re:The Front-End Developer's Guide to the Terminal by davidvarela_us on Friday April 22, 2022 @07:43PM (#31129663)
No kidding. When I was heavily contributing to Julia's Pkg (which uses roughly the same model for modules as NPM, at least in terms of the file system), our test suite would run roughly an order of magnitude slower on Windows. This was very annoying on days where a lot of PRs where in the pipeline. I poked around the problem about for a while, and eventually came to the same conclusion (but I'm no Windows expert).

Eventually, I worked around the problem by using a caching system to avoid blowing up the filesystem. It was necessary at the time, but it never felt like a satisfying solution. I wonder if anyone has the knowledge to make native Windows go fast on e.g. a large number of sequential git clone operations.

Re:The Front-End Developer's Guide to the Terminal by adgjlsfhk1 on Saturday April 23, 2022 @01:49AM (#31131755)
fun fact: the solution the Julia package manager currently uses is to just read from a compressed tar file because ntfs is so shit that decompressing on the fly is faster.
Re:The Front-End Developer's Guide to the Terminal by keb_ on Friday April 22, 2022 @09:21PM (#31130438)
I write Node natively on Windows all the time. You just have to pick your dependencies wisely, and things are usually safe.
Re:The Front-End Developer's Guide to the Terminal by qsort on Friday April 22, 2022 @06:07PM (#31128824)
Part of it is Windows being Windows, but part of it is languages/runtimes treating Windows as a second-class platform, which is understandable but a predictable source of problems.

See e.g. Python, which runs just fine everywhere.

Re:The Front-End Developer's Guide to the Terminal by DangitBobby on Saturday April 23, 2022 @01:17AM (#31131592)
The situation has probably improved (WSL of course is an option now), but when I first got started, I found developing in Python on Windows to be a nightmare of compatibility problems that I simply wasn't experienced enough to figure out. Lots of things I needed just wouldn't install and I'd see inscrutable C compilation errors or log messages about eggs and wheels. I actually ended up switching to Linux for work and personal use because of it.
Re:The Front-End Developer's Guide to the Terminal by speedgoose on Saturday April 23, 2022 @12:49AM (#31131503)
Python is slow everywhere.
Re:The Front-End Developer's Guide to the Terminal by jack_pp on Friday April 22, 2022 @06:54PM (#31129241)
python doesn't have the same packaging shitshow as JS does though