3 ms·
Despite that, Windows is still the most popular desktop OS in the world by an enormous margin. You don't help a friend who needs to rename a load of files by sa
by mathw 10y ago
Despite that, Windows is still the most popular desktop OS in the world by an enormous margin. You don't help a friend who needs to rename a load of files by saying "well, it'd be much easier if you first installed Linux". Or cygwin, or even the Windows Subsystem for Linux if they're running Windows 10 Anniversary Update.
- Annatar 10y agoYou help a friend by giving him a one liner COMMAND.COM shell script, instead of turning it into a cross-compiling hackfest just because you're a Rust fanboy (in author's own words).
- ZoFreX 10y agoHow is the one-liner shell script more helpful to the friend than the resulting binary? Yes it was convoluted but the point was the code author had to jump through hoops, not the end user.
- Annatar 10y agoThen the code author should have jumped through the hoops to learn Windows shell scripting, instead of purposely overcomplicating. When I see things like these, it honestly makes me hate computers and IT.
- chriskrycho 10y agoNo real hoops to jump; I'm sure I could have googled the batch script invocation for him easily. Again: the point was simply to use an interesting "hook" and then segue into providing resources on cross-compiling with a super-simple example.
- chriskrycho 10y agoOr, you figure out the cross-compilation steps and document them for the whole Rust community, because there isn't yet a readily searchable resource on it. I actually knew exactly what I was doing with this, and it wasn't just solving that one specific problem. It was solving a bunch of different issues, including some for the whole Rust community, some for my own personal experience, and that one for my friend. Heck, I asked him if he minded waiting while I did all of this, and he gave the thumbs-up. ;)