News for hackers. Stuff that matters.
Re:CoreUtils implemented in pure JavaScript by throwaway2048 on Tuesday March 22, 2016 @10:05AM (#11336656)
node.js is not simple or even simpler
Re:CoreUtils implemented in pure JavaScript by goldbrick on Tuesday March 22, 2016 @03:53PM (#11339487)
Using a node script doesn't munge the rest of my shell environment. Cygwin, on the other hand...
Re:CoreUtils implemented in pure JavaScript by recursive on Tuesday March 22, 2016 @11:41AM (#11337359)
However, I already have it.
Re:CoreUtils implemented in pure JavaScript by StreamBright on Tuesday March 22, 2016 @04:31PM (#11339753)
I 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

Re:CoreUtils implemented in pure JavaScript by capote on Tuesday March 22, 2016 @01:14PM (#11338079)
You already have a processor too, and something running directly on that is, in fact, more simple.
Re:CoreUtils implemented in pure JavaScript by recursive on Tuesday March 22, 2016 @01:17PM (#11338112)
It's more simple from the point of view of the processor, I suppose, but that's not a useful metric for me.
Re:CoreUtils implemented in pure JavaScript by StavrosK on Tuesday March 22, 2016 @01:51PM (#11338428)
Is 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.
Re:CoreUtils implemented in pure JavaScript by recursive on Tuesday March 22, 2016 @02:51PM (#11338951)
Maybe 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.
Re:CoreUtils implemented in pure JavaScript by StavrosK on Tuesday March 22, 2016 @06:26PM (#11340428)
I see. So you have these coreutils installed? Because if not, they're exactly as "simple" as cygwin, which is also not installed.
Re:CoreUtils implemented in pure JavaScript by recursive on Tuesday March 22, 2016 @08:48PM (#11341234)
No, 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.

Re:CoreUtils implemented in pure JavaScript by umanwizard on Thursday March 24, 2016 @11:18PM (#11358297)
Cygwin is pretty simple to install and use. Download an .exe installer, click click click, open the Cygwin prompt shortcut.
Re:CoreUtils implemented in pure JavaScript by joesb on Tuesday March 22, 2016 @02:45PM (#11338888)
From the point of view of the user, yes.
Re:CoreUtils implemented in pure JavaScript by metalock on Tuesday March 22, 2016 @03:21PM (#11339217)
Yes, 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?
Re:CoreUtils implemented in pure JavaScript by recursive on Tuesday March 22, 2016 @04:36PM (#11339783)
The question is hypothetical. Sometimes the answer would be yes. Sometimes the answer would be no.