What is Deno? How it differs from NodeJS
Here we will see what is Deno. why Deno and will it replace Nodejs? also will see here features, limitations of Deno.
Deno word is an anagram of Node was announced on JSConf EU 2018 by Ryan Dahl in his talk “10 Things I Regret About Node. js”. you can check that conf here
Deno is an open-source project which is simple, modern, and secure runtime for JavaScript and TypeScript that uses V8 and is built in Rust.
Now the first question is Will Deno replace NodeJs?
Firstly Node is not going anywhere but might be Deno helps you to do the same thing in a better way. so I can say Deno is not the replacement of NodeJs but it is an alternative of NodeJs. you just need to explore it and use it if found useful for your application. But as currently(*when I’m writing this) latest version is 1.0.2 so you should wait for future versions to use it for your stable application until you can explore it. as mentioned in its manual also
How Deno is differ from NodeJs
As in JSConf EU 2018, they talk about 10 regrets about Node JS, so they will definitely improve that in Deno.you can found all regrets he mentioned here
and here some features I found that
NodeJs is “javascript runtime built on Chrome’s V8 JavaScript engine” while Deno is “A secure runtime for JavaScript and TypeScript”.
Deno will use sandbox to executes the code , which means that runtime has no access to the network, the file system, and the environment.
The access needs to be explicitly granted, which means better security.
Deno supports TypeScript , which means that we don’t need to manually install and configure tools to write TypeScript code.
Don’t need to install npm packages, we directly import it from web-server
if have any doubt or query please reach out to me
Email-sachinkumar9663@gmail.com
Follow here Instagram/jsdevlopers