From Node.js to Deno: How It All Began

  Рет қаралды 30,982

Honeypot

Honeypot

Күн бұрын

Пікірлер: 79
@zombiefacesupreme
@zombiefacesupreme 2 ай бұрын
Ryan Dahl is a true visionary. I just watched his Google TechTalk this morning, and it's clear that he was so far ahead of his time. One fun thing I learned is that he wanted require to be asynchronous originally. If the CommonJS people hadn't convinced him to change it, we might have never had this whole CJS/ESM debacle in the first place!
@pjmaas106
@pjmaas106 2 ай бұрын
I am a noob what is this debacle you speak of sir?
@zombiefacesupreme
@zombiefacesupreme 2 ай бұрын
@@pjmaas106 Node's CommonJS (CJS) modules came first. They're synchronous (the whole app waits 'til they finish loading). That doesn't fit into browsers where modules might get loaded from servers far away-- you don't want your whole website being blocked because of one slow JavaScript module. Instead, you want to load them asynchronously. So, EcmaScript Modules (ESM) came later to bring modules to the browser. Unfortunately, the two systems are pretty incompatible due to their different loading methods. This is why you will sometimes see .mjs and .cjs files, it's why there is a "type" setting in your package.json, and it's part of why people were impressed that Bun lets you use them together in the same package. This issue is slowly getting better, but it's haunted JavaScript library developers for years because it's really hard to make code that works well in all environments.
@zombiefacesupreme
@zombiefacesupreme 2 ай бұрын
​@@pjmaas106 I wrote a really long comment that got shadow-deleted by KZbin's awful automated censorship. Just Google CJS and ESM. Sorry. KZbin comments is a terrible place for discussion and they don't allow links.
@RustIsWinning
@RustIsWinning 2 ай бұрын
​@@zombiefacesupremeboth your comments got filtered unless you sort comments by newest
@RustIsWinning
@RustIsWinning 2 ай бұрын
​@@pjmaas106the tldr version is that you have an ecosystem which uses two incompatible module systems. ESM is modern and standardized. CJS is old and outdated.
@JLarky
@JLarky 2 ай бұрын
Deno was created by conference driven development 😮
@mariomario4676
@mariomario4676 2 ай бұрын
Perfect timing. Thank you for the great content. I started playing with deno two days ago. Like how easy it is to deploy as well.
@2u841r
@2u841r 7 күн бұрын
Ryan Dahl, Anthony Fu, Evan You are my coding life Hero
@rcnhsuailsnyfiue2
@rcnhsuailsnyfiue2 2 ай бұрын
I’m a Laravel dev and have successfully avoided using Node for anything meaningful for over a decade 😅 In a recent project I needed to run user-supplied JS server-side, and was dreading the prospect of having to provision isolated runtimes just to get some semblance of security. Finding Deno was an incredible blessing ! A single binary, sandboxed and isolated, which even supports TypeScript natively… you saved me countless days and many more gray hairs. Thanks Ryan and the Deno team!!!
@codewithmoses
@codewithmoses 2 ай бұрын
lol 😂
@oussamamaatallah0
@oussamamaatallah0 2 ай бұрын
can we have an interview about flutter? I liked the style of documentary
@CodeWhizbang
@CodeWhizbang 2 ай бұрын
Haha, Flutter? Really? Flutter and Dart are just an abomination! Dart as a language feels like a step backward, and Flutter is basically this bloated framework trying to do everything but ends up doing nothing well. It's nothing compared to native tech like Kotlin and Jetpack Compose. Compose just feels so much more natural and intuitive, and when you add in Compose Multiplatform, man, it's game over. Kotlin is such a modern, powerful language, and don’t even get me started on coroutines. They’re like the icing on the cake, handling asynchronous tasks with such elegance. Flutter doesn't even come close to that level of awesomeness. Why settle for less?
@oussamamaatallah0
@oussamamaatallah0 2 ай бұрын
@@CodeWhizbang thanks
@mwlulud2995
@mwlulud2995 2 ай бұрын
@@CodeWhizbang React native is also pretty good!
@danurahadi3607
@danurahadi3607 2 ай бұрын
@@CodeWhizbang 💯agree.. I think one day, Kotlin will conquer all area of software engineering.
@martinkinywa2512
@martinkinywa2512 2 ай бұрын
Flutter is the result of someone building something to get a promotion. No value, lots of hype.
@omarizem8352
@omarizem8352 2 ай бұрын
Just when i thought juggling 100000 JavaScript frameworks was enough, now we have 100000 runtime environments too should I just go back to PHP and call it a day? 🤔😅
@RottenMuLoT
@RottenMuLoT 2 ай бұрын
TBF PHP has a couple of frameworks as well. I wouldn't see myself using vanilla PHP w/o Symfony or Laravel or one of those fancy async frameworks.
@AFUHFlyinns
@AFUHFlyinns 2 ай бұрын
Wow this is interesting. I will be glad to be one of the first people to create a complete application with Deno 😊
@emantubail3041
@emantubail3041 16 күн бұрын
This made me interested to learn C++
@ruzzan
@ruzzan 2 ай бұрын
Do Django
@UliTroyo
@UliTroyo 2 ай бұрын
I don't know anything about Django (other than it's the Rails of Python), so I would love to see that.
@mwlulud2995
@mwlulud2995 2 ай бұрын
@@UliTroyo Yes, but not powefull
@Dong-sl2qi
@Dong-sl2qi 2 ай бұрын
abstract everything and make us dum deno is abstractting hard work but i just love it lol
@CodeWhizbang
@CodeWhizbang 2 ай бұрын
Have you thought about making one for Kotlin too? Would be awesome to see you dive into that!
@sle6423
@sle6423 2 ай бұрын
Gotta get me a Deno plushie...
@UliTroyo
@UliTroyo 2 ай бұрын
Deno and Bun both have Node beat in the plushie category, truly the most important tech benchmark.
@mysterOrel7924
@mysterOrel7924 2 күн бұрын
Guys where are you ???
@TheOriginalJohnDoe
@TheOriginalJohnDoe 2 ай бұрын
"That was it" - Ryan: Great 😐
@NikKita-f8i
@NikKita-f8i 2 ай бұрын
Legend!
@bobDotJS
@bobDotJS 2 ай бұрын
I can't wait for Theo to steal this documentary and then turn his audience against Honeypot again
@uwot918
@uwot918 2 ай бұрын
Stop caring about what superficial KZbinr personalities do
@bobDotJS
@bobDotJS 2 ай бұрын
@@uwot918 I hate the guy because I can't avoid him. He is quite literally involved with my professional life.
@UliTroyo
@UliTroyo 2 ай бұрын
I can tell @bobDotJS watches Theo ask me how
@JohnZakaria
@JohnZakaria 2 ай бұрын
Why would Theo do that? Do you have a video for me?
@br3nto
@br3nto 2 ай бұрын
He’s quite the negative Nancy to the point of being toxic. Even the positive things he says is sandwiched between negativity.
@johnnm3207
@johnnm3207 2 ай бұрын
please do BunJs and HTMX
@RustIsWinning
@RustIsWinning 2 ай бұрын
That's not even close to be interesting to watch 😂
@LongerThanAverageUsername
@LongerThanAverageUsername 2 ай бұрын
Do web developers know they don’t have to hunch over a laptop and can used a desktop with a screen they can actually see?
@RustIsWinning
@RustIsWinning 2 ай бұрын
Ah yes let me quickly grab my heavy machine with my wide monitor and travel where I want to go 😂
@rizkyandi6535
@rizkyandi6535 Ай бұрын
from Deno to Done
@toothless.tarantula
@toothless.tarantula 2 ай бұрын
nice
@bigbadcatbigbcy2933
@bigbadcatbigbcy2933 2 ай бұрын
Deno shuld be industry standard
@bjojosimpson
@bjojosimpson 2 ай бұрын
Just like Kotlin was supposed to replace Java... Surprise, surprise.
@bigbadcatbigbcy2933
@bigbadcatbigbcy2933 2 ай бұрын
@@bjojosimpson nah java is good as it is
@bjojosimpson
@bjojosimpson 2 ай бұрын
@@bigbadcatbigbcy2933 I meant to say that ~4 years ago people also expected Kotlin to replace Java. All in all, Deno lost its momentum, and the industry is already too invested on Node.js. The companies moving away from Node are likely going to languages such as Golang, and those that have strict performance requirements are switching to Rust. There is no space for another single-threaded Javascript-based language.
@martinkinywa2512
@martinkinywa2512 2 ай бұрын
Then we will get Onde in 2030!!
@yeanurrahman446
@yeanurrahman446 Ай бұрын
Nodejs শেষ করতে পারলাম না এরই মধ্যে Deno নিয়ে আসছে ভাই ডাল আমরা কি চট করে Deno শিখতে পারবো 😂
@imPrathamDev
@imPrathamDev 2 ай бұрын
wait it's dano or deno?
@UliTroyo
@UliTroyo 2 ай бұрын
When Ryan first invented it, he said "DEH-no". Later it was changed to "DEE-no", like a dinosaur. (Which I know is "DIE-no", tech names are bonkers.)
@sadunozer2241
@sadunozer2241 2 ай бұрын
Ryan Dahl is binary Jesus
@edwinquaihoi8503
@edwinquaihoi8503 23 күн бұрын
mistakes ... npm and allowing ~ and ^ dependency versioning oh and a copy of dependency for each project rather than a central local repo
@cotyhamilton
@cotyhamilton 2 ай бұрын
🦕
@prateekshukla346
@prateekshukla346 2 ай бұрын
HTMX pliss
@swornimshah8898
@swornimshah8898 2 ай бұрын
react native documentry
@owlmostdead9492
@owlmostdead9492 Ай бұрын
What the world needs is less javascript and not more, I’m pretty sure even the biggest fanboy will accept that javascript is being used for things it has no business being used in.
@GomrRomasg
@GomrRomasg 2 ай бұрын
Gonzalez Kimberly Davis Michelle Martin Jason
@gautamdiwan5952
@gautamdiwan5952 2 ай бұрын
Bun Next Svelte Golang Django Nest Flutter These can be made into documentaries Rust
@CodeWhizbang
@CodeWhizbang 2 ай бұрын
Flutter and Dart? Absolute abominations. They just don’t measure up to native tech like Kotlin and Jetpack Compose. And don’t even get me started on Next.js, totally overrated. Remix, on the other hand, is awesome. It’s the kind of modern, solid framework that actually gets things right. Kotlin and Jetpack Compose just blow everything else out of the water with their elegance and efficiency.
@martinkinywa2512
@martinkinywa2512 2 ай бұрын
Javascript should be eliminated from the backend and remain where it was designed to be, the browser. I would not be caught dead deploying a javascript backend
@bjojosimpson
@bjojosimpson 2 ай бұрын
As a former Javascripter, I hear you.
@RustIsWinning
@RustIsWinning 2 ай бұрын
Found the PHP devs 😂
@danurahadi3607
@danurahadi3607 2 ай бұрын
💯💯but we can't do it now, because the Node.js market is one of the biggest in the world right now.. 😆
@martinkinywa2512
@martinkinywa2512 2 ай бұрын
@@RustIsWinning I actually write many languages. Python, PHP, Java, C, C#, Objective C, Golang, Rust and JS/TS professionally. As a professional dev, Javascript has given the worst results on the backend in my career. I have been developing for 20 years and have been the lead dev for over 100 software projects. Though your profile says "RustIsWinning", your comment clearly tells me you are a Javascript fanatic. I suspect you have not done much professional work with rust
@RustIsWinning
@RustIsWinning 2 ай бұрын
@@martinkinywa2512 Alright man I totally believe someone on the internet with all those numbers after writing such a bait comment. You still did not state what and how you came to these results. What went wrong? Tell us.
@BetaBilim
@BetaBilim 2 ай бұрын
to be honest , bun,js makes me more excited
@Sammi84
@Sammi84 2 ай бұрын
Bun came out promising perfect nodejs compatibility at the time when Deno was still trying to avoid that. Deno clearly did a 180 on node compatibility because of Bun, and we're all better off for it. Right now it looks like Bun is much more willing to break web standards than Deno, and there doesn't seem to be much of a performance difference between the two. I was worried about the viability of Deno there for a while, but it seems better now. I'm still on node though. I was stuck because of the AWS npm package, but that seems to be supported in Deno now, so now I just need the bandwidth to make a serious attempt at Deno.
@b_two
@b_two 2 ай бұрын
deno's dedication to web compatibility makes deno far more appealing than bun
@RustIsWinning
@RustIsWinning 2 ай бұрын
Segfaults get you excited? Cool 😂
@js-ny2ru
@js-ny2ru Ай бұрын
After 6 years of Deno I confider it as failure...
Ryan Dahl introduces JSR at DevWorld 2024
29:13
Deno
Рет қаралды 116 М.
Meet Jeff Delaney: The Mastermind Behind @Fireship
16:02
Honeypot
Рет қаралды 310 М.
Car Bubble vs Lamborghini
00:33
Stokes Twins
Рет қаралды 42 МЛН
МЕНЯ УКУСИЛ ПАУК #shorts
00:23
Паша Осадчий
Рет қаралды 3,6 МЛН
Kubernetes: The Documentary [PART 1]
24:55
Honeypot
Рет қаралды 472 М.
Announcing Deno 2
59:21
Deno
Рет қаралды 239 М.
Google Drive hates developers now
23:56
Theo - t3․gg
Рет қаралды 156 М.
Microservices are Technical Debt
31:59
NeetCodeIO
Рет қаралды 628 М.
GraphQL: The Documentary
27:58
Honeypot
Рет қаралды 577 М.
Does Deno 2 really uncomplicate JavaScript?
8:55
Beyond Fireship
Рет қаралды 456 М.
TypeScript Origins: The Documentary
1:21:36
OfferZen Origins
Рет қаралды 294 М.
Vue.js: The Documentary
34:45
Honeypot
Рет қаралды 1,5 МЛН
The Hidden Cost Of GraphQL And NodeJS
28:35
ThePrimeTime
Рет қаралды 197 М.