The Importance Of Deno 2.0

Поділитися
Вставка
  • Опубліковано 9 лют 2025
  • I am actually pretty hyped about Deno 2.0 and you should be too.
    SOURCES
    deno.com/blog/...
    deno.com/blog/...
    Check out my Twitch, Twitter, Discord more at t3.gg
    S/O Ph4se0n3 for the awesome edit 🙏

КОМЕНТАРІ • 143

  • @lloydatkinson8030
    @lloydatkinson8030 4 місяці тому +161

    Deno regardless of version is incredibly important because it represents a clean slate opportunity. No garbage CJS/require, only ES modules, built in TypeScript. Those alone eradicate a whole set of problems and footguns.

    • @voidmind
      @voidmind 4 місяці тому +7

      Now that Deno is compatible with NPM, doesn't that imply that they had to support CJS

    • @lloydatkinson8030
      @lloydatkinson8030 4 місяці тому +16

      @@voidmind They support it from NPM, but fortunately they don't let you use it outside of that.

    • @thecrazyiwan
      @thecrazyiwan 4 місяці тому +1

      @@lloydatkinson8030 With Deno 2 you can do that if your file has `.cjs` extension

    • @Dominik-K
      @Dominik-K 4 місяці тому +3

      I really love deno for the capability and permission model, which allows us to run untrusted code without much worries. It's a niche use case, but it makes data protection pretty easy

    • @leotaku5216
      @leotaku5216 4 місяці тому

      I'm increasingly thinking that most commentors don't watch the videos at all... This comment directly contradicts main points of the announcement.

  • @mlgpro6194
    @mlgpro6194 4 місяці тому +176

    Theo misunderstood what `deno bundle` does. Deno bundle just works as a bundler such as `esbuild`, combining source files to one file. What Theo described was `deno compile` which WAS NOT deprecated. Deno compile still very much exists.

    • @azufendusgarendum6583
      @azufendusgarendum6583 4 місяці тому +2

      This ^^w

    • @anonymousalexander6005
      @anonymousalexander6005 4 місяці тому +27

      Expecting Theo to read 😂. Dude barely skims something, goes on a rant, then proceeds to pretend like his rant is what the article talks about. He’s just filling in YT watch time at this point, I doubt he actually gives 2 sh*ts about any of it.

    • @masterflitzer
      @masterflitzer 4 місяці тому

      ​​@@anonymousalexander6005 yeah he often says x or y is so cool and exciting, then proceeds to still use only react & nextjs
      i actually am excited about deno 2.0 and will use it for all my personal projects if it really fulfills its promises (no pun intended)

    • @BarisPalabiyik
      @BarisPalabiyik 4 місяці тому +5

      @@anonymousalexander6005 Don't think he's not giving a shit, maybe he just thinks he can do 50 things without compromising the quality, which is impossible but wouldn't undermine the effort from couple of mistakes.

  • @SoreBrain
    @SoreBrain 4 місяці тому +9

    Deno is doing major work, it's just a question of time until I play with it. The standard library + linting + formatting completely part of the language makes so much sense 😭

  • @acrosstheocean25
    @acrosstheocean25 4 місяці тому +3

    The doc test feature is one of the reasons that I love rust so much. Glad that deno is getting it now as well.

  • @struntuz
    @struntuz 4 місяці тому +31

    In 4 years we will have "6 things i regret about DENO" and them the release of DONE, its a cycle

    • @macle5007
      @macle5007 4 місяці тому +3

      naa there's atleast 10 years before they get to done, next is gonna be like enod, oned etc until they get to done

    • @pylotlight
      @pylotlight 4 місяці тому +5

      Thanks fireship

    • @realzuhaz
      @realzuhaz Місяць тому

      deezode

  • @seshpenguin
    @seshpenguin 4 місяці тому +20

    This really does feels like the first version of Deno I'd actually consider using

  • @tom.watkins
    @tom.watkins 4 місяці тому +5

    Feels like Deno made a lot of bets on the ecosystem moving way quicker than it has and now they've rolled back so it's possible for people to actually use it before they run out of money

  • @_____case
    @_____case 4 місяці тому +21

    Theo is sometimes pronouncing "Deno" the way Ryan Dahl originally pronounced it, but he and the rest of the org agreed to pronounce it "Dee-no" in 2020.

    • @vinnylozada
      @vinnylozada 4 місяці тому

      What about "executable" and "attributes"? Is this a West Coast thing? I'm from the Midwest and we pronounce it differently.

    • @trappedcat3615
      @trappedcat3615 4 місяці тому +1

      They should have gone with dee yes

  • @rickdg
    @rickdg 4 місяці тому +3

    The nice thing about the moustache devs reacting to the same content is that I can watch the one that has dark reader installed.

  • @experimentalcyborg
    @experimentalcyborg 4 місяці тому +11

    Not mentioning vercel in a video challenge: impossible

  • @aldierygonzalez7249
    @aldierygonzalez7249 4 місяці тому +8

    29:41 Funny you mention, there was a recent syntax episode with i believe the creator of Tauri where they said with the new Deno release they would consider adding runtimes for it

    • @aldierygonzalez7249
      @aldierygonzalez7249 4 місяці тому +3

      On syntax’s page “Is Tauri the Electron Killer” at about 11 minutes for anyone wondering!

  • @oserodal2702
    @oserodal2702 4 місяці тому +13

    I think one of the developers of Tauri said on a podcast that their main problem wasn't the JS engine Tauri uses, but rather Webkit itself. Unlike Electron, where it just bundles Chrome and Node by itself. Tauri apps aim to just have the minimal JS and Rust bundle, leveraging existing tools in the OS itself to deliver a cross platform experience. Of course, in practice, that is not the case, which is why the only true cross-platform no OS specific code runtime/environment is the browser.

  • @hightidesed
    @hightidesed 4 місяці тому +53

    its pronounced deeno, its literally a dinosaur in the logo...

    • @ARandomUserOfThisWorld
      @ARandomUserOfThisWorld 4 місяці тому +5

      In which case it would be pronounced dino, but its pronounced deeno(rightfully so but still)

    • @hightidesed
      @hightidesed 4 місяці тому +6

      @@ARandomUserOfThisWorld dino is pronounced deeno in german

    • @Paul_Marek
      @Paul_Marek 4 місяці тому +2

      AKCHEWALLY… I used to be Fred Flintstone at a Hanna Barbara theme park and my pet dinosaur was named DINO, not Deno.

    • @brod515
      @brod515 4 місяці тому +3

      I must be the only one confused here by your comments.
      you are saying it's deeno. and thern mention the DINOsaur logo.
      and then backing that up with some stuff about Germany... uhm then what was the stuff about the dinosaur.

    • @kkebo
      @kkebo 4 місяці тому

      you mean deen .. z nuts?

  • @nicocanali
    @nicocanali 3 місяці тому +1

    What you're talking about when commenting deno bundle is actually deno compile, which is not deprecated.
    And so, for creating native executables, deno still supports compile. On the other hand, for bundling JS for the web, they are now advising to use ESBuild 😁

  • @Dan-kp6vg
    @Dan-kp6vg 4 місяці тому +26

    Saying JavaScript is the true Unix gave me an aneurysm

  • @affanyunas7693
    @affanyunas7693 4 місяці тому

    It seems like Ryn read the problem and solved it correctly and very well. Very good job.

  • @_Khrix
    @_Khrix 4 місяці тому

    Wow! Finaly we can consider using deno instead of node without invalidated our currently projects

  • @wolfisraging
    @wolfisraging 4 місяці тому +32

    I am waiting for DONE rc

  • @_____case
    @_____case 4 місяці тому +3

    Deno Deploy (and Deno KV and Deno Queues, and Deno Cron) is also based af and is going to give Cloudflare and Vercel a run for their money.

    • @duckner
      @duckner 4 місяці тому

      That is NOT how you use "based"
      But i fully agree Deno Deploy is amazing. I use it for one of my services that gets a few million requests a day with no issues

  • @zb2747
    @zb2747 4 місяці тому

    Love deno. TS setup/configured out of the box, better handling of libs, ect.
    Makes spinning up web server/API seamless

  • @re.liable
    @re.liable 4 місяці тому

    TIL Deno 2.0 is out now. I've been using it for a scraping project I started last night. Neat. Will update later

  • @Mahfoudh94
    @Mahfoudh94 4 місяці тому

    the bun pun in the very beginning got me 😂

  • @yhzh755
    @yhzh755 4 місяці тому +4

    How does deno compare to bun?

  • @zettca
    @zettca 4 місяці тому +5

    Everyone's so worried about misgendering people, but then completely disregard the correct pronunciation of names...
    It's pronounced "dee-no", just look it up! It's literally the first thing on the Wikipedia page or Deno docs

  • @danser_theplayer01
    @danser_theplayer01 4 місяці тому

    26:30 I fully suport that state of mind.

  • @virtual5754
    @virtual5754 4 місяці тому +2

    Permissions are second most annoying part of deno. To be able to run any meaningful project you have to grant bunch of permissions. But then all malicious packages get them too. So nothing changes at cost of extra work

  • @habibsspirit
    @habibsspirit 4 місяці тому +1

    The face in the thumbnail always makes me not wanna click these videos but I admit the content is good so I watch it anyway.

  • @tungthanh4297
    @tungthanh4297 3 місяці тому

    I’m concern about production disk usage of Deno 2. May you make a video for it?

  • @elliotsharpe5448
    @elliotsharpe5448 4 місяці тому +2

    feels like they’re taking steps in the right direction but still not on the same level as bun tbh

    • @duckner
      @duckner 4 місяці тому +1

      Funny. It's significantly better than Bun. Bun will forever be the Ruby of JS runtimes.

    • @kanbekan
      @kanbekan 4 місяці тому

      Bun is just rewriting Node in Zig and Jscore with some Deno feature, imho it's not that compelling
      They're just hyping that bun is faster than node and deno while cherry picking benchmarks
      I don't think node and npm support in bun is better than deno
      Tbf bun younger than deno, so in the future it might be better
      I don't think bun have webgpu and jupyter notebook support too

  • @YTCrazytieguy
    @YTCrazytieguy 4 місяці тому

    You're confused about tauri - it uses the system webview instead of bundling *chromium*, it has nothing to do with V8 binding. It also doesn't bundle a JS runtime because you write the backend in Rust.

  • @aymenbachiri-yh2hd
    @aymenbachiri-yh2hd 4 місяці тому

    Thank you so much for this video

  • @guxit
    @guxit 3 місяці тому

    I love Tauri since my exported app size is 1.2mb rather than minimum 88mb for Electron. For simple things not dealing with the Rust layer, it's great. You don't need your chat/alarm clock/list app to come bundled with Playstation controller drivers.

  • @diadetediotedio6918
    @diadetediotedio6918 4 місяці тому +4

    I like tauri, what is your problem with it specifically?

    • @araozu
      @araozu 4 місяці тому +7

      His problem is Rust. He hates that Rust is not as loose as TS and forces you to write more correct programs, thus hurting "iteration speed"
      Really if it contains Rust, he hates it. He even was critical agains Turbopack by Vercel being written in Rust

    • @comradepeter87
      @comradepeter87 4 місяці тому +12

      @@araozu While I overall disagree on his Rust takes, that is NOT AT ALL why he doesn't like it. He specifically mentioned he doesn't like the fact that Tauri relies on native browser thingies embedded in operating systems, which I'm assuming is because it's not a consistent experience cross-platform.

    • @yet_another_communist
      @yet_another_communist 4 місяці тому

      @@comradepeter87 I don't see how much different is this from making websites... and in the end it's more like 2 (or 3, now with Android and iOS support) engines that you have to support, most of them are using WebKit like Linux, MacOS and iOS (I don't know which engine do Android use to be honest), the only different one is Windows, that uses WebView2. I can see how this can be a pain in the ass depending on your application, but isn't it as difficult as using something like Electron? Since most of the time what I see is companies using one Electron app for the desktop and having another app built using React Native, Flutter or going straight up with Java, Kotlin or Swift for mobile. Isn't this inconsistent enough?
      For these reasons I'll continue using Tauri, especially v2 that can now compile to mobile.

    • @aenguswright7336
      @aenguswright7336 4 місяці тому +1

      But it really misunderstands the whole philosophy of Tauri. The idea of Tauri is that you shouldn’t need to package the entire runtime to run an application. Putting in V8 would kill one of the main attractions to using Tauri and honestly if you’re using something so esoteric that you’re worried about chrome vs safari javascript incompatibilities, you probably shouldn’t use Tauri, or write your logic in rust to begin with.

  • @codeChuck
    @codeChuck 3 місяці тому

    When running simulations in one another, be careful when you go deeper then 3 levels :D

  • @Kiyuja
    @Kiyuja 4 місяці тому

    is Deno interchangeable with Node? I wanted to get into TypeScript to use it with Tauri, but I'm not a frontend guy. If Deno now is the hot new thing, should I use it instead of Node? Am I asking stupid questions here?

  • @StephenChapman
    @StephenChapman 3 місяці тому

    30:00 Check out Dioxus sometime and see what you think about their approach. It's comparatively younger than Tauri, but I haven't looked back after picking up Dioxus.

  • @pencilcheck
    @pencilcheck 4 місяці тому

    I call it, Den-o

  • @gro967
    @gro967 4 місяці тому

    Under semver, breaking changes under 0.x version means increasing the minor number, not the major version.
    So a breaking change in 0.10.4 would result in 0.11.0.

  • @notnotjake
    @notnotjake 3 місяці тому

    I like deno’s permissions but wish they let you sandbox the filesystem access so it could only access a certain folder instead of my entire system

  • @DragosCirjan
    @DragosCirjan 4 місяці тому

    Node is not stuck with gyp. Node doesn't want to invest in smth else. There's a cmake module that you can use for building C++ Node modules with so much ease. Don't know if it's still maintained or not. But don't say they're stuck on Gyp because they can unstuck themselves whenever they want.

  • @reisiramv
    @reisiramv 4 місяці тому

    The Birth & Death of JavaScript is starting to look more real than ever expected...

  • @Lohan_Guedes
    @Lohan_Guedes 4 місяці тому

    NOICE!

  • @threepe0
    @threepe0 2 місяці тому

    Python DOES have packagers to make executable files. I use them all the time for people who don't want to learn anything

  • @Serstyle59
    @Serstyle59 4 місяці тому +1

    Refer to your video Stop using new tech (seriously). Deno 2 effect

  • @jakeworldwide
    @jakeworldwide 4 місяці тому

    its DEENO, have you seen the flintstones?

  • @MeghanDenny
    @MeghanDenny 4 місяці тому

    they wrote that whole post and not one mention of bun

  • @xtraszone
    @xtraszone 3 місяці тому

    Dont worry bun lovers..
    Bun is still much faster than bun

  • @danser_theplayer01
    @danser_theplayer01 4 місяці тому

    So this Deno thingy can run.. literally everything? Browser code, node code, anything wasm AND anything C? What kind of genius code wizard could come up with it?

  • @kameikojirou
    @kameikojirou 4 місяці тому

    Have a look at Astral UV for Python. I had the similar headaches and it pretty much solved them.

  • @xc13z829
    @xc13z829 4 місяці тому

    Ryan says "dee-no"

  • @vpetryniak
    @vpetryniak 4 місяці тому +1

    Only for it seems overcomplicated? They tried to simplify but brought even more configs to configure and new syntax 😂

  • @industrialvectors
    @industrialvectors 4 місяці тому +7

    While it's nice that you all cover this news. I am a tad frustrated. After Prime covered it, I went to deno expecting it would be ready to use. It's a RC. There are not even easy to find instructions for install. I'll stay a little longer on node/npm then.

    • @BlackAsLight448
      @BlackAsLight448 4 місяці тому +2

      `deno upgrade rc`

    • @industrialvectors
      @industrialvectors 4 місяці тому

      @@BlackAsLight448 Exactly. One has to install deno v1 then upgrade. No fresh direct install.

  • @twilightdev
    @twilightdev 4 місяці тому

    does theo use Deno in prod

  • @dehrk9024
    @dehrk9024 4 місяці тому

    im also a dinosaurius

  • @jakethis3355
    @jakethis3355 4 місяці тому +1

    x-eh-cute-uh-bowl

    • @TrulySinclair
      @TrulySinclair 4 місяці тому +1

      Correction, ex-eh-cute-uh-bull

    • @jakethis3355
      @jakethis3355 4 місяці тому

      @@TrulySinclair I like that better

  • @gerryramosftw
    @gerryramosftw 4 місяці тому

    how would you pronounce the logo? its a DINOsaur..... i cant watch this video with how you are pronouncing deno.. go with deeno or dyno

  • @dvkerns
    @dvkerns 4 місяці тому +8

    Uh... I am so unqualified to weigh-in on this pronunciation. But given the branding, isn't it obviously pronounced "Dino"? 🦖🤔

    • @Tekapeel
      @Tekapeel 4 місяці тому +1

      Don't think there's any argument there, Theo even mentioned that it's suggesting "de-node-ing" which would be "dee-no" as well....

    • @tehssb
      @tehssb 4 місяці тому +1

      That's "dino" in the Flintstones sense!

    • @dvkerns
      @dvkerns 4 місяці тому

      @@Tekapeel and yet he says “Deh-no” about half the time. But I can’t tell if he’s trolling… just heard him pronounce “gist” (as in a GitHub gist) with a hard g, and it felt like a troll.

  • @Bravin_Joshua
    @Bravin_Joshua 4 місяці тому

    Node =>Deno =>Done?

  • @dharmikthakkar2946
    @dharmikthakkar2946 4 місяці тому

    Can anyone let me know which port manager tool he is suggesting 18:11 want to try it out

    • @TrulySinclair
      @TrulySinclair 4 місяці тому +2

      He said it, raycast with port manager extension i believe

  • @igorthelight
    @igorthelight 4 місяці тому

    11:02 - Nuitka doesn't help? ;-)

  • @atljBoss
    @atljBoss 4 місяці тому

    Pretty good video as always

  • @TrulySinclair
    @TrulySinclair 4 місяці тому

    Pronouncing executable like executive is definitely something, great video though!

  • @joshuachan6317
    @joshuachan6317 4 місяці тому

    30:11
    I literally spent 3 hours into searching things about this idea, Rusty_v8 + Some webview
    Then I have came to the conclusion that if I use Rusty_v8, I will have to implement all the Native APIs myself,
    which is exactly what NodeJS/ Deno did 🤣
    So I might just use Deno + Rust + Wry to make the library 😂

  • @hugmoretreez
    @hugmoretreez 4 місяці тому

    Theo your videos have gotten so dark! more light!!!

  • @ИванРагозин-я8я
    @ИванРагозин-я8я 4 місяці тому +1

    Bun

  • @Nodsaibot
    @Nodsaibot 4 місяці тому

    node projects are build to break

  • @isuperman1113n
    @isuperman1113n 3 місяці тому

    This guy said JS is the true Unix? Have you no shame at all lol

  • @UbuntuBanksie
    @UbuntuBanksie 4 місяці тому

    It’s deeno

  • @andgatehub
    @andgatehub 4 місяці тому +1

    So basically, deno 2.0 doesn't matter at all and this is just a hype video.

  • @BlackAsLight448
    @BlackAsLight448 4 місяці тому

    You should have read the article before making this video

  • @MrDaAsif
    @MrDaAsif 3 місяці тому +1

    gyp has to be the worst name for a technical project since GIMP arguably worse since it's going to be heard as a slur 🙃

  • @trappedcat3615
    @trappedcat3615 4 місяці тому

    Its pronounced de-no like d yes and d no.

  • @vsolyomi
    @vsolyomi 4 місяці тому +1

    Would you be interested in covering how ABBYY fired its every Russian citizen employee (not in Russia, the ones they themselves relocated elsewhere - Cyprus, Serbia, Hungary)? I know it's not exactly your wheelhouse, but you called out Cloudflare on their bs, so maybe. I think that needs coverage.

  • @user-qq7yc1qp8z
    @user-qq7yc1qp8z 4 місяці тому

    deno deploy pricing is insane tbh, more expensive than vercel

    • @IyaRivvikyn
      @IyaRivvikyn 4 місяці тому

      maybe because they using GCP instead AWS

    • @user-qq7yc1qp8z
      @user-qq7yc1qp8z 4 місяці тому

      @@IyaRivvikyn 0 sense, GCP is not more expensive than AWS

  • @zx-sy1qh
    @zx-sy1qh 4 місяці тому

    So i should go for the thing that the guy built wrong the first time ? 🙂

    • @comradepeter87
      @comradepeter87 4 місяці тому +3

      Tell you what, f*ck this runtime wars, let's just stick to Internet Explorer. They did it so right they don't even release new versions anymore, like literally nothing to improve.

  • @Dik131WZD
    @Dik131WZD 3 місяці тому

    TypeScript support is cool, but when will someone write JavaScript 2.0? I don't wanna see this ugly and mess TS syntax anymore

  • @mopifyz
    @mopifyz 4 місяці тому

    first!
    Also good to see you talking about deno, what about bun?
    nevermind ig bun is deno...

  • @tonypujals
    @tonypujals 4 місяці тому +1

    Deno is pronounced "deeno" (dēno)

  • @ohitsjudd
    @ohitsjudd 4 місяці тому +10

    It's 2024, takes 1 quick search to know how to pronounce a word.

    • @MachineYearning
      @MachineYearning 4 місяці тому +2

      It's actually really interesting how far people will go to avoid changing their behavior. Saying "I don't care" is relatively mild. In more extreme cases people will actually say they hate or actively avoid people who do things they don't want to learn

    • @Мартынов-х3ъ
      @Мартынов-х3ъ 4 місяці тому +5

      But sometimes authors insist on obviously stupid ways to pronounce things they named. “Vite” is the best example: no one would ever call it “veet” if they didn’t specify it
      English is not the best language when it comes to figuring out how to pronounce words based on their spellings only btw

    • @Tekapeel
      @Tekapeel 4 місяці тому +1

      @@Мартынов-х3ъ I'm not sure you can confidently say that about vite, has there been some representative survey to that effect? The first time I saw "vite" i pronounced it... vite, because it's a word I already knew so it was the easiest way to intuitively pronounce it. Vite pronounced "Vight" isn't a word apart from maybe in the world of scam supplement companies.

    • @Мартынов-х3ъ
      @Мартынов-х3ъ 4 місяці тому

      @@Tekapeel no i don’t refer to any researches, but for me it’s kinda obvious to pronounce it like “vight”. I mean, there are lime, time, wise, rise, side and a lot of other words of the same structure. Don’t you have any background in French?

    • @MachineYearning
      @MachineYearning 4 місяці тому +1

      ​@@Мартынов-х3ъ The entire English language is full of words that are pronounced inconsistently.

  • @MeghanDenny
    @MeghanDenny 4 місяці тому

    deno is no longer interesting because it's caved from its initial vision. but they raised investor money and have to play catch up now

  • @sheaksadi
    @sheaksadi 4 місяці тому

    Very demure very mindful

  • @tinahalder8416
    @tinahalder8416 4 місяці тому +1

    U r just bad in python 🫠

  •  2 місяці тому

    I'll watch the video anyway, BUT when the official promo says /diːnoʊ/, then you really should care just enough to drop your former mispronunciation and start using the one used by the damn creator. Is it really THAT hard? 🙃