Comment

Comment by TheDong

deno is 'node' shifted by two letters. What do you use nodejs for? That's what you use deno for. It exists in the same space.

So in short, deno is a javascript interpreter suitable for local scripting, server/services, etc. Just like node.

You can probably use it for desktop applications, but it more closely targets server code, again like node.

So how does deno differ from node? It has a different module system and stdlib (better, more modern). It has first-class typescript support. It has much better security controls so that it's possible to use it to interpret untrusted code (this is not security advice).

The 'untrusted code' bit means deno's also gunning a little for the niche lua and other embedded scripting languages occupy, but I don't think it has much of a foothold there yet.

parent TheDong 6 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton