Introduction

Almost two years ago, Ryan Dahl, the creator of Node.js, talked about the ten things he regretted about Node.js. At the same time, he introduced DENO, a prototype of a new, security-first, npm-less JavaScript, and typescript runtime. Recently DENO 1.0 released.

Why Deno?

We know that javascript is the battle field-tested Dynamic language for the web, and we cannot imagine the web industry without JavaScript. Through standard organizations like ECMA international, the language has been evolving day by day. It’s easy to explain why is the natural choice for dynamic language tooling, whether in a browser environment or as standalone processes.

NodeJS: open-source, cross-platform, JavaScript runtime environment, invented by the same author almost ten years ago. People have found it useful for web development, tooling, creating a server, and many other use cases. In the presentation, ten things regret nodejs that are discussed in more detail.

Now the changing JavaScript world, and new additions like TypeScript, building Node projects can become a problematic effort, involving managing build systems and another heavy-handed tooling that takes away from the fun of dynamic language scripting. Furthermore, the mechanism for linking to external libraries is fundamentally centralized through the NPM repository, which is not in line with the web’s ideals.

Deno

Deno is a new runtime for executing JavaScript and TypeScript outside of the web browser. Deno attempts to provide a complete solution for quickly scripting complex functionality. [code]

Will it replace NodeJS?

NodeJs is a battle field-tested platform and incredibly well supported that is going to evolve day by day.

Typescript Support

Under the hood, deno built on V8, Rust, and Tokio. The rusty_v8 crate provides high-quality Rust bindings to V8's C++ API. So it is easy to explain written in particular TypeScript means we get a lot of the benefits of TypeScript even if we might choose to write our code in plain JavaScript. So deno does not require typescript compilation setup, deno do it for automatically.

#programming #javascript #node #code #deno

Deno- JavaScript and TypeScript Runtime
1.20 GEEK