What is DENO ? kick-start tutorial
The person behind Deno is "Ryan Dahl", creator of Node.js. let us check out why did he create Deno.
Node js - It is an open-source, cross-platform, javascript runtime based on the V8 javascript engine.
In his talk, he explains "10 things I regret about Node.js". I will give just mention the points but still if your interested just check out the video.
Points from the talk:
- Not sticking with promises
- Security
- The build system (GYPc)
- Package.json
- node_modules
- Require without extension
- index.js
- Focused on an event I/O
Deno - A secure Typescript runtime based on the v8 javascript engine and Rust programming language.
It is a new way to write server-side javascript. It solves all the problems mentioned by Ryan over his talk.
It used the V8 engine under the hood but the runtime is implemented in typescript and Rust.
- Security (--allow-net, --allow-write)
- Simplified module system (remove the dependency of node_modules)
- Typescript compiler built into the executable
- Ship only single executable with minimal linkage
- Bootstrap runtime by compiling node modules with parcel into a bundle
- support for top-level await.
- Browser compatible('window' not 'global')
I recommend watching this below video - Deno in 100 seconds.
That's it. Github link
0 comments:
Post a Comment
Please post your comments here. Will help others.