top | item 29166803

(no title)

Grimm1 | 4 years ago

I see Deno getting a lot of play here, and I think rightfully so. The recent globally distributed chat example in like 20 lines of code is basically the level of accessibility I like seeing brought to otherwise very complicated distributed systems setups.

That said how is Deno being seen in relation to Node, iirc Deno is being made to correct on a lot of the issues Node originally had but I’m curious about adoption and how this is going to fit in the JS world where Node has become so cemented, what’s the killer feature to move those people over?

Or is that not the play, will this peacefully coexist?

discuss

order

dschuessler|4 years ago

I can only speak from a node developer perspective but deno makes some promises that I would consider absolute killer features should they work as advertised:

- no hassle with `node_modules`

- no hassle with `npm install` and `npm ci`

- no hassle with `package-lock.json`

- no hassle with `node-gyp`

- no hassle with setting up Typescript

On the nice to have side I would mention:

- opinionated take on linting, testing and formatting

- possibility to compile into self-contained executables

kbenson|4 years ago

> possibility to compile into self-contained executables

That it can already do this is what brought me into doing some stuff with deno. It's just deno compile to make a self contained executable (don't forget permission flags). It's a bit large at over 40 MB, but honestly that's not something I'm going to care too much about given how straightforward and easy it is and since it's not that large.

olddb|4 years ago

Thank you Grimm for beating me to the punch. Being working with a company dealing with sensitive data. who are concerned about the security of the npm package system, especially with the recent rc/roc exploits. Have any company actually moved from node to deno successfully in production? Would really appreciate some links and references to stories like that as we are also considering moving node -->>> deno.