What is Deno and will it Replace NodeJS?
For the past 2 years, Ryan Dahl has been speaking about the shortcomings of NodeJS. He is now attempting to resolve those problems with NodeJS. Let's take a look at some of the promises made by Deno:
- Security is integrated into the language. Via CLI arguments you can enable/disable access to a filesystem or network resources to a Deno script. This is a huge boon for operations folks.
- Unlike NodeJS, the standard library for Deno is more featureful and works well independently. You only require dependencies for complex tasks.
- Typescript is a first-class citizen and requires no extra tooling for it to work in Deno. No more tranpilation!
- Bid farwell to
node_modules/. To me, this is the biggest advantage of Deno. All dependencies are part of the binary itself and don't require an external folder as a cache.
- Better tooling all around. An improved debugger (which is essential), test runner and file watcher are just a few of the things.
This is an exciting new development in the programming world. We are all looking forward to see how Deno performs against real-world production use-cases.
Full Post here, 6 mins read