Deno in 100 Seconds
Ғылым және технология
Deno is a brand new JavaScript runtime, similar to Node.js. Use it to develop secure server-side apps with built-in TypeScript support, ES modules, and promise-based APIs.
Learn more at deno.land
#javascript #nodejs #100SecondsOfCode
Install the quiz app 🤓
iOS itunes.apple.com/us/app/fires...
Android play.google.com/store/apps/de...
Upgrade to Fireship PRO at fireship.io/pro
Use code lORhwXd2 for 25% off your first payment.
My VS Code Theme
- Atom One Dark
- vscode-icons
- Fira Code Font
Пікірлер: 726
Deno just hit v1.0.0-rc1. I have to say it's awesome to write scripts with TS support out-of-the-box. What do you think?
@sanusihassan7125
4 жыл бұрын
Will node be replaced by deno?
@Max14211
4 жыл бұрын
Your content has always been good. But it's on another level now, your scripts have 0 fluff and your editing jobs are really incredible and a very entertaining to watch. Mad props on your development as a content creator love your videos. :)
@Jessyco
4 жыл бұрын
@@sanusihassan7125 Depends on all the developers and support currently in place for Node. Just like any technology stack if it ain't broken don't fix it. Unless someone has some time on their hand to make a Node => Deno I don't see it happening overnight.
@sanusihassan7125
4 жыл бұрын
@@Jessyco you are right
@pardal_bs
4 жыл бұрын
The only thing I don't like about Deno is how it uses async iterables for listening to connections instead of events. Here's why: 1. It doesn't make sense to "iterate" over a listener. 2. It can cause bugs, because `await`ing inside a `for await ... of` will block requests from coming in. 3. Want to write something after the `for await ... of` loop? It won't execute. It feels like writing in a systems language, where the whole thread stops, waiting for something to happen. I also don't like the callback hell, but sometimes callbacks make more sense.
Job postings already asking for 3-5 years of Deno experience
@muhammadfaateh6463
4 жыл бұрын
that is clearly lol
@carloslfu
4 жыл бұрын
I just got 5 years of experience watching this 100s video.
@andreiaquino8994
4 жыл бұрын
I agree with this 😂 smh
@kolonbah6761
4 жыл бұрын
Exactly what I am thinking 😂
@shardulbirje6379
4 жыл бұрын
@@muhammadfaateh6463 😂
2009: NODE 2018: DENO 2027: NEDO 2099: DONE
@KingKong-zq4mp
4 жыл бұрын
ENDO
@gpguru7355
4 жыл бұрын
@@KingKong-zq4mp ODEN
@abulfazlhaidary4625
4 жыл бұрын
Good one!!
@daxitpatel
4 жыл бұрын
@@gpguru7355 THOR?
@KingKong-zq4mp
4 жыл бұрын
@@daxitpatel LOKI
Letters "D", "E", "N" and "O" can be arranged in 24 different ways. We already got NODE (2009) and DENO (2018). Assuming new JS runtime comes out every 9 years, we should be covered for next 204 years.
@tasehagi
4 жыл бұрын
Can't wait for ODEN! Hope I'll live long enough!
@VictorNascimentoo
4 жыл бұрын
DONE
@911madza
4 жыл бұрын
@@VictorNascimentoo They should symbolically release DONE as v24! Fingers crossed for 2216.
@CubeAmaterasu
4 жыл бұрын
Definetly DONE will be the last one
@divingradish
4 жыл бұрын
@@tasehagi Yummy
Can’t wait to try this out. Fireship is like Santa bearing toys for devs.
@sinatraforeign
4 жыл бұрын
Christmas in july!!
@jp46614
3 жыл бұрын
it's nothing exciting tbh
@lasindunuwanga5292
3 жыл бұрын
Same here
@thecashewtrader3328
2 жыл бұрын
Yes
@t.h.4823
2 жыл бұрын
Definitely agree. I have already 6x more frameworks and languages I want to learn, that the ones I can use. xD
I love JavaScript world! Don't try to fix existing stuff, just create a new one!
@Fireship
4 жыл бұрын
Haha, according to Ryan Dahl, Node is basically unfix-able because of all the legacy stuff it needs to support.
@adam-k
4 жыл бұрын
@@Fireship 5 years from now deno will have the same problem. Anyway cannot use it before large cloud service providers adopt it.
@randomuser66438
4 жыл бұрын
@@adam-k Ain't cloud servers supposed to allow you to install whatever you want?
@karma_yogi_42
4 жыл бұрын
@@adam-k sure all software needs to be upgraded and maintained, but the point here is node's architecture is bad and upgrading is extremely difficult. That's why you see late adoption of newer es features. eg: you can virtually forget about top level await in node. Impossible for node to start on ts and wasm support
@kebbotnet4170
4 жыл бұрын
on the contrary, look at software that tries to "fix existing stuff" without breaking BC. PHP is full of baggage from bad decisions in the past that won't be removed because of backwards compatibility. Java also suffers from this.
2022: NODENO - fixing all the problems with DENO.
@okie9025
4 жыл бұрын
3 weeks later: NONODENO - self explanatory
@crowlkats
4 жыл бұрын
cant fix something that aint broken :P
@Microphunktv-jb3kj
4 жыл бұрын
deno = so.. you have to use npm to install deno ... pretty much sums it up... pretty sure everyone keep using npm :D
@athif23
4 жыл бұрын
@@Microphunktv-jb3kj I don't know what you're talking about, but I'm pretty sure you don't install deno using npm.
@VictorNascimentoo
4 жыл бұрын
I would call it "DONE"
Once you mentioned the Rust bindings I was sold! I'm excited to dig in and try this out. Would love to see more vids on Deno, WASM, and Rust in the future, thanks for the great content as always!
I'm a first year software dev student. I'm nowhere near this level of knowledge but I still like learning about all these advanced technologies. :)
@elmotareal
4 жыл бұрын
The only true skill you will acquire for real, is choosing what to ignore and what to learn :)
@gokuafrica
4 жыл бұрын
So jealous of you. Wish I had subscribed to fire ship when I was in my first year
@maurusaurelius1266
4 жыл бұрын
Try to keep that beginner’s mind. It’s a blessing.
@lorenzocanavaggio5335
4 жыл бұрын
You will get there ;)
@SimoneAronica
4 жыл бұрын
I think that once you'll understand how servers (especially http servers) work, it'll be easy to switch between every framework, as the hardest part of entering in a new framework is always learning the new syntaxes and what it can do without you needing to configure anything, but then the request respond architecture is always the same across all languages. Edit: fixed typos
This is one of the best channels I have subscribed to in a very long time. Thanks for these 100-second videos, they are simply amazing!
nobody: recruiters: "we need Deno programmer with 3 years of experience"
Thank you for talking about this. I had forgotten about it after hearing about it almost a year ago. I would have thought it had fizzled out had it not been for you. I really enjoy your breadth and depth of topics. THANKS!
Thank you, thank you, thank you for this video format. With so many web technologies, these 100 seconds videos save me so much time with basic explanations for what they are and what they're used for.
9/10 video. Very informative, but you didn’t say “syntactic sugar” once, which is what I came for.
I have been waiting for Deno to hit a useable release. HELL yes. Thanks my man for bringing this to my attention.
Deno is honestly super interesting and I'd encourage the use of it over node for beginners.
your video editing and those memes you throw around are fire XD
@FahadAyaz
4 жыл бұрын
So is your body
More of this pls! It's nice as a developer to meet these technologies in a short way.
Already using it and already loving it!
Your videos are so well made that I would watch them even if they would be about crocheting.
Holy cow, _shivers_ that top level await though. And server side TS just makes sense. This looks so rad.
As a Rust developer I would be very happy to use Deno if it can import crates directly for server side usage. I mean WASM is good and all but it requires some extract work to bridge between the JS and Rust is something I'm too lazy to do. And branch out from tokio runtime would also be cool.
This looks really interesting! I have never heard of Deno before this video, and I think I might see it a lot more in the future!
just binged your channel vids and you came up with this
you are the reason I stopped recording how tos or todos videos, dude, your videos are just great and I thank you !
Love this runtime, single executable, import directly from url, they started with golang but they moved to rust which is a great choice, caching of already compiled codes, sandboxing (nothing outside sandbox is allowed by default), and many more. Hope this is adopted fast and we get more libraries for this or port of node libraries here.
@codecraft27
Жыл бұрын
Can you plz explain 'sandboxing'
You know you produce quality consistently when I clicked like just by seeing the topic and channel
Bro, you are the man! More awesome techniques please!
Your videos are amazing dude, keep it up :D
Can’t wait to learn Deno and let it be one of my primary sources of pain/suffering in the future!
Okay I am stoked to try this!!! it is pretty awesome, especially the fact that it does away with so much boilerplate (The lazy side in me is winning). Thank you
I can't ignore any video you post even if am not interested. For sure I will learn something new. You have unique conents.
I learned about Deno when I was searching electron alternative and felt it has the potential to replace node in some ways. It also ditched a lot of nodejs stuff like NPM(package.json), API methods, etc. The point is that while it is still young, but it shows the ambition to correct a lot of things node is doing wrong (according to my "research"). Have fun learning new stuff.
@softwarelivre2389
4 жыл бұрын
Can't wait for an deno based electron/nwjs version [Deno Webkit maybe 🤔🤔🤔].
@Yassir.A.P.
2 жыл бұрын
So, what Electron alternatives have you found and now recommend?
@xeliani.7809
2 жыл бұрын
@@Yassir.A.P. tauri
@codecraft27
Жыл бұрын
Can you Explian what things nodejs does wrong?
I would try it! Certainly makes things easier and straightforward
Dude this is AWESOME!!
This guy makes learning awesome
YES! Finally! Deno will be huge in the future. Mark my words.
Oh my God, now that I see this in action, this looks so promising. Can't await it!
@vukkulvar9769
3 жыл бұрын
await deno()
The only things that are keeping me on Node are NPM and the popularity of Node. I'm still a beginner developer and I rely a lot on modules, and even if Deno has a lot of good things, because the use of external package seems like a lot of complications for me, and because there are less people using it, I won't be able to find much help in case I struggle. And because of that, I'll be staying on Node for some more time.
Please do more videos about Deno! It looks really good
Secure by default!? PogChamp!! I definitely have to check this out.
I would love to see more videos about Deno. I love Node, but have found parts of it to be gross to use. I love your fast paced style of videos and would be thrilled to see more on this topic from you.
Just learned how to use node, and deno looks real good 👍🏼
Yes! In my opinion, Deno is the future of js runtime!
@Wereld03
4 жыл бұрын
If it supported NPM modules, those are what make node great
@crowlkats
4 жыл бұрын
@@Wereld03 those are what make node hell. Too many people rely on dependencies for stupid reasons... left-pad is the best example. People should stop blindly using packages
@exactzero
4 жыл бұрын
@@Wereld03 No.
Love the content and the animation. Nice job!
This was awesome jeff
Looks really powerful with handy features
PWA in 100 seconds
@Fireship
4 жыл бұрын
That'll happen soon :)
@goodclover
4 жыл бұрын
@@Fireship Yes!
It looks cool and the fact that the creator fixed some of the issues that plague Nodejs is great...but I'm not sure if it can gain enough traction since Node as a platform (with NPM) is so popular right now and there has been so much tooling and code created for it. People might be hesitant to migrate.
@Soremwar
4 жыл бұрын
The thing is Node is not especial, what gives Node value is the fact that it can run JavaScript, meaning that most of the code already written in Node can be ported to Deno, so it's not like Deno begins at 0% percent, it can inherit everything Node already has For example, I can use React directly on my Deno app without having to rewrite a single line of it
Thank you bro 👍🏻 You are just awesome
10 years later, new product from Ryan Dahl: DONE, which solves the Deno and Node weaknesses.
Deno stands for: Destroy node.
@khotambakhromov
4 жыл бұрын
btw, is it real? or just a joke
@eoussama
4 жыл бұрын
I Deno about that chief!
@sadhlife
4 жыл бұрын
@@khotambakhromov absolutely real. and absolutely the future
@alim.ismail8272
4 жыл бұрын
Deno is node in reverse. no-de => de-no
@KylerChin
4 жыл бұрын
Yes, also is the name from a Japanese manga about a dino
I'm an early adapter of this video xD
I was looking forward for 1.0. I'll give it a try.
It seems really cool :D!
Great vid. Seems too niche right now. So many haven't even picked up TS for Node. Let's get there first. Personally, I use Go :)
I'm sorry but that server with for await is the most satisfying thing I've ever seen in my life
I've looked at deno and I'm in love
Perfect!
I think that it will become one of the big programming frameworks / languages but wont overtake Node...Similar to how typescript wont overtake javascript or Svelte over the other frameworks... at least for a few years. On the front we will have React, Angular, Vue, Svelte...and on the backend will have Node/Express, Deno, Python,Php/Laravel, and C# as choices for the most popular
Great content 👍
One guy will make a small web framework for deno inspired by ruby and will be praised like a god yet again.
You are awesome dude 🔥🔥🔥🔥🔥🔥
If anyone wants a rest micro framework for Deno, checkout Drash! Disclaimer: I'm one of the mantainers.
Wow thanks for that!
I think the way that these new languages will become popular is for Senior devs looking to use something new at their companies start using a combination of Svelte and Deno. When they leave the company you will have a void and a need of someone who knows Svelte and Deno to take his place...if those new frameworks are adopted company wide then when people leave the company they take that knowledge and implant it into another company causing the need to spike
It's awesome!
Deno FTW!
Amazing video
And that’s a good thing!
The real question is: When is Ryan Dahl going to be DONE?
@HomelessFooser
4 жыл бұрын
i was kinda thinking the same thing so this made me laugh
@VishalPandey-tf3wp
4 жыл бұрын
:D
Even though it is awesome, it can't beat node js because of the community support and maturity, plus companies will not migrate when existing tools already do the work without too much issues
@maxwellsmartarse2916
2 жыл бұрын
But what about for new coders and new ventures? That's probably where the market is. It's where I'm starting.
This is going to be awesome
Yes. I do think it’s the future of server side JavaScript.
The line between front-end and back-end will become even more blurred. Once the code bases start to look the same. Which is a good thing IMO. But how does this affect existing frameworks like NestJS or Angular?
Considering all the clutter in frontend world... i think this will be the game changer. Highly optimistic even if i do not use JS for the back-end.
You bring exciting treats to us developer "dawgs"
very interested!!
A lot of hype one this one!
I guess this is the future and it will be massive!
sounds good
Deno sounds exciting, will use it if I get a chance. In the meantime NODEJS will do.
I just wish Deno (or even Node) would implement something to make coding as zen as Python. What I mean is an UNDISPUTED set of defaults as style guide, much like you get with Black or autopep8 in Python. It would make tooling so easier to digest, no more infinite .dotfiles laying around your root.
Typescript in 100 seconds pls I really love your videos and I hope you Good luck ♥️
No callback hell! No NPM ! Am Adopting this!
Starting to look more and more like a real back-end language
0:38 Closing the laptop and going to gym!
Please do a video on Q# and the Quantum Development Kit, I've been trying to wrap my head around it these last few days while in quarantine
I have no idea about the technical obstacles not about alternatives, but using npm with deno would be awesome. I don't like the idea of creating all those npm packages again for deno, thought I understand that it would need quite some work to support npm.
If node.js was such a big deal, Demo certainly will be. Looking forward to it.
Dammn. Nice. We just ditched Node over Go and Rust, but Deno might be nice for some prototyping. I'm liking the look of it. :)
I can't wait for NEO-D
that top level await is just, insane! holy crap I wish they also do this in node
@codeaperture
3 жыл бұрын
Node can't be replaced by Deno..
@user-wc1sm8cj8s
3 жыл бұрын
@@codeaperture Why not reread what I just said. Did I say replace Node with Deno? Improve your reading comprehension mate!
@companyco4859
2 жыл бұрын
@@codeaperture Who do you think you are not reading things and typing something irrelevant to op's submission.
Yes it is!!
Such a good dino
Now, I think it is better to be a software developer than a web developer, every now and then new runtime, frameworks come, and little time you get to learn, let alone master them...
liked the intro already.
Got introduced first time with Deno. Looks little bit cooler than Node
Honestly speaking I have seen Deno since a year, And I havent seen it really grabbing any significant attention.I still like the way node is. But yeah the idea is very interesting.
Awesome.