What is Deno?
What do we know?
- Was created by Ryan Dahl,
the original creator of Node.js - Server-side framework
- For JS and TS
- Uses V8
- Build-in Rust
- Security
- Single executable file
Mirror of Node
Agenda
- Why Deno?
- SWOT Analysis
- Deno vs Node
- Let's get denotified (Live Demo)
- Takeaways
But we were talking about mirroring right?
Agenda
- Takeaways
- Let's get denotified (Live Demo)
- Deno vs Node
- SWOT Analysis
- Why Deno?
Takeaways
-
High-performance optimization and security.
-
Has it's own set of standard and third-party library.
-
Next-Gen cutting edge technology.
-
Still in its nascent stage, so we'll have to wait and see the magic and miracles that Deno is going to do!
Live Demo
Major differences
w.r.t Node
The Black Hole?
SWOT Analysis
Strength, Weakness, Opportunities and Threats
Strengths
-
Deno is built on RUST
-
Sandbox
-
TypeScript support
-
Promises in native APIs
-
Code optimization will make you awestruck because of no package.json and all old school stuff. Just directly import the URL and you are good to go!
Weakness
-
Doesn’t support NPM
-
Standard Library + 3PL
-
Slow compile time.
Opportunities
- Security.
- Command-line format for network and file access
- A very reliable framework.
('b' + 'a' + + 'a').toLowerCase()
'1' + 1
'1' - 1
= 'banana'
= '11'
= 0
Threats
- A better version of Node which fixes the security breaches
- A lot of time to reach its potential and popularity.
Why Deno?
That's something I'll leave for the audience to decide.
Once you guys try it out.
But Don't take my word for it
Hear it from the instigator himself
Ryan's regrets about NodeJS
- Node modules
- Package JSON
- Security
- Not living up to the Promises
- Directory structure from HTML
- File Format not included in imports
- No types
- Entire vulnerable JS bundle is shipped
Thank You
Any Questions?
@shobu_live
- Github
- even, Slack
Find Me :)
deck
By Shubham Singh
deck
- 376