4 ms·
Simpler is better. Cygwin is overkill unless you are trying to mimic your exact non-Windows environment, and it doesn't mix well with Windows' vanilla CMD envi
by Smudge 11y ago
Simpler is better.
Cygwin is overkill unless you are trying to mimic your exact non-Windows environment, and it doesn't mix well with Windows' vanilla CMD environment. For those of us who want to be working with more Windows than UNIX, but who are used to standard coreutil commands, 1/100th the functionality of cygwin actually sounds kind of great!
Not saying that the commands need to be written in JS, but it seems like every language gets at least one coreutils implementation, so why not?
So much negativity around here. Honestly I find it pretty neat that JS has come this far.
- throwaway2048 11y agonode.js is not simple or even simpler
- recursive 11y agoHowever, I already have it.
- capote 11y agoYou already have a processor too, and something running directly on that is, in fact, more simple.
- recursive 11y agoIt's more simple from the point of view of the processor, I suppose, but that's not a useful metric for me.
- StavrosK 11y agoIs your unit of simplicity really "I already have this installed"? Because then this hello world line I just wrote is more complex than your OS.
- joesb 11y agoFrom the point of view of the user, yes.
- recursive 11y agoMaybe simplicity isn't exactly what I'm talking about, but yes. In fact, I couldn't run your hello world without running my OS. So from a practical point of view, me running your hello world has a dependency on my OS. From that perspective, it's easier for me to run my OS than your hello world.
- StavrosK 11y agoI see. So you have these coreutils installed? Because if not, they're exactly as "simple" as cygwin, which is also not installed.
- recursive 11y agoNo, I don't. I have a vague recollection that cygwin was a huge and confusing monolith, but I haven't looked at it in years. This new javascript thing sounded more straight-forward. It's not really objectively supported. I don't even like javascript.
- umanwizard 11y agoCygwin is pretty simple to install and use. Download an .exe installer, click click click, open the Cygwin prompt shortcut.
- metalock 11y agoYes, but - when you hit some bug or just need some specific combination of commands, there would be thousands posts on the web that explain how to do on unix that will work in Cygwin. Will they work in this environment?
- recursive 11y agoThe question is hypothetical. Sometimes the answer would be yes. Sometimes the answer would be no.
- StreamBright 11y agoI also have Fortran, Cobol, SWI-Prolog, OCaml, Elixir and Erlang on my computer, so I guess we need to re-implement core utils in these languages too. Using the followings in any technical arguments is just plain stupid: - it works on my laptop - but I already have it
- goldbrick 11y agoUsing a node script doesn't munge the rest of my shell environment. Cygwin, on the other hand...