News for hackers. Stuff that matters.
Re:Run Unix processes inside your browser by userbinator on Sunday December 11, 2016 @12:19PM (#13151989)
And their shell demo do not even support cd(!).

That means their claim that "Unmodified C, C++, Go, and Node.js programs run as processes on Web Workers"

...is not true, as otherwise they could've just "compiled" e.g. bash or some other shell to run on their system, along with GNU coreutils or similar.

Re:Run Unix processes inside your browser by nteon on Sunday December 11, 2016 @04:40PM (#13153467)
The shell is dash, compiled from C. We run each command as

dash -c "$COMMAND"

Processes can change their current directory (We support the chdir(2) system call), but the way the shell demo is currently implemented no state is retained between command invocations. We plan to address this shortcoming soon as part of a bigger TTY refactoring.

Re:Run Unix processes inside your browser by roblabla on Sunday December 11, 2016 @01:34PM (#13152367)
My guess is, they can, it's just horrendously slow.