Deno - Node.js successor (?)
Deno is based on V8 and written in Rust & TypeScript and it aims to provide a productive and secure scripting environment that a modern programmer needs.
What's wrong with Node?
At times Node is like nails on a chalkboard to me. - Ryan Dahl
In 2018 during a JSConf Ryan Dahl gave a keynote speech called "Design Mistakes in Node" where he highlighted some of the most disturbing him Node's flaws or, as he called them, his regrets like:
- the build system (sticking to GYP)
- removing promises
- node modules
- security flaws i.e. linter having full access to your device & network
and some more. During that talk, he has also shown the world Deno's prototype.
Deno is an anagram for Node and it aims to do the same job as a Node in a better way. Deno comes with some pretty interesting built-in features & concepts:
- TypeScript Support - TypeScript is great & Deno supports TypeScript out of the box.
- Simplified modules system - with no attempt to achieve compatibility with Node modules, Deno offers totally different & simplified approach where standard modules are hosted at
[deno.land/std](deno.land/std)and are distributed via URLs (you can still use third party modules from any location on the web)
- Single executable - Deno ships only a single executable with minimal linkage
Will Deno replace Node.js?