News for hackers. Stuff that matters.
Re:Cash: a cross-platform implementation of Unix shell comma... by ausjke on Wednesday February 24, 2016 @09:36AM (#11166979)
This is neat!

For Javascript we have the engine as V8 VM already, is it possible we can use javascript the way as python/bash(i.e. #!/bin/js) someday? that means ignoring the DOM/web related portion and make javascript a true client/server side script language, then it's really close to 'one language rules all'.

Re:Cash: a cross-platform implementation of Unix shell comma... by tholmes on Wednesday February 24, 2016 @10:41AM (#11167520)
This works:

  #!/usr/bin/node

  console.log("hello");
mark it executable and enjoy.

Unless that's not really what you were getting at with your comment. If I misunderstood, sorry!

Re:Cash: a cross-platform implementation of Unix shell comma... by nailer on Wednesday February 24, 2016 @01:00PM (#11168749)
As the other poster notes, that's exactly what node is.