News for hackers. Stuff that matters.
Re:Will Bun JavaScript Take Node's Crown by flohofwoe on Sunday August 14, 2022 @10:15AM (#32459409)
Mainly 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).

Re:Will Bun JavaScript Take Node's Crown by ripley12 on Sunday August 14, 2022 @07:20PM (#32464105)
> 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 :)