The Importance Of Deno 2.0

Поделиться
HTML-код
  • Опубликовано: 25 ноя 2024

Комментарии • 142

  • @lloydatkinson8030
    @lloydatkinson8030 Месяц назад +154

    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 Месяц назад +7

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

    • @lloydatkinson8030
      @lloydatkinson8030 Месяц назад +16

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

    • @thecrazyiwan
      @thecrazyiwan Месяц назад +1

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

    • @Dominik-K
      @Dominik-K Месяц назад +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 Месяц назад

      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 Месяц назад +170

    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 Месяц назад +1

      This ^^w

    • @anonymousalexander6005
      @anonymousalexander6005 Месяц назад +28

      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 Месяц назад

      ​​@@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 Месяц назад +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.

  • @sunkittsui7957
    @sunkittsui7957 Месяц назад +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.

  • @SoreBrain
    @SoreBrain Месяц назад +8

    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 😭

  • @struntuz
    @struntuz Месяц назад +24

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

  • @seshpenguin
    @seshpenguin Месяц назад +19

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

  • @oserodal2702
    @oserodal2702 Месяц назад +12

    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.

  • @tom.watkins
    @tom.watkins Месяц назад +4

    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

  • @rickdg
    @rickdg Месяц назад +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 Месяц назад +11

    Not mentioning vercel in a video challenge: impossible

  • @_____case
    @_____case Месяц назад +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 Месяц назад

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

    • @trappedcat3615
      @trappedcat3615 Месяц назад +1

      They should have gone with dee yes

  • @affanyunas7693
    @affanyunas7693 Месяц назад

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

  • @aldierygonzalez7249
    @aldierygonzalez7249 Месяц назад +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 Месяц назад +3

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

  • @wolfisraging
    @wolfisraging Месяц назад +32

    I am waiting for DONE rc

  • @Dan-kp6vg
    @Dan-kp6vg Месяц назад +26

    Saying JavaScript is the true Unix gave me an aneurysm

  • @_Khrix
    @_Khrix Месяц назад

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

  • @hightidesed
    @hightidesed Месяц назад +53

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

    • @ARandomUserOfThisWorld
      @ARandomUserOfThisWorld Месяц назад +5

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

    • @hightidesed
      @hightidesed Месяц назад +6

      @@ARandomUserOfThisWorld dino is pronounced deeno in german

    • @Paul_Marek
      @Paul_Marek Месяц назад +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 Месяц назад +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 Месяц назад

      you mean deen .. z nuts?

  • @habibsspirit
    @habibsspirit Месяц назад +2

    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.

  • @zb2747
    @zb2747 Месяц назад

    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 Месяц назад

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

  • @_____case
    @_____case Месяц назад +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 Месяц назад

      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

  • @danser_theplayer01
    @danser_theplayer01 Месяц назад

    26:30 I fully suport that state of mind.

  • @nicocanali
    @nicocanali Месяц назад

    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 😁

  • @Mahfoudh94
    @Mahfoudh94 Месяц назад

    the bun pun in the very beginning got me 😂

  • @guxit
    @guxit Месяц назад

    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.

  • @elliotsharpe5448
    @elliotsharpe5448 Месяц назад +2

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

    • @duckner
      @duckner Месяц назад +1

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

    • @kanbekan
      @kanbekan Месяц назад

      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

  • @zettca
    @zettca Месяц назад +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

  • @StephenChapman
    @StephenChapman 27 дней назад

    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.

  • @codeChuck
    @codeChuck Месяц назад

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

  • @virtual5754
    @virtual5754 Месяц назад +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

  • @tungthanh4297
    @tungthanh4297 Месяц назад

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

  • @aymenbachiri-yh2hd
    @aymenbachiri-yh2hd Месяц назад

    Thank you so much for this video

  • @yhzh755
    @yhzh755 Месяц назад +3

    How does deno compare to bun?

  • @kameikojirou
    @kameikojirou Месяц назад

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

  • @notnotjake
    @notnotjake Месяц назад

    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

  • @gro967
    @gro967 Месяц назад

    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.

  • @DragosCirjan
    @DragosCirjan Месяц назад

    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.

  • @YTCrazytieguy
    @YTCrazytieguy Месяц назад

    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.

  • @atljBoss
    @atljBoss Месяц назад

    Pretty good video as always

  • @pencilcheck
    @pencilcheck Месяц назад

    I call it, Den-o

  • @Serstyle59
    @Serstyle59 Месяц назад +1

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

  • @vpetryniak
    @vpetryniak Месяц назад +1

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

  • @reisiramv
    @reisiramv Месяц назад

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

  • @industrialvectors
    @industrialvectors Месяц назад +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 Месяц назад +2

      `deno upgrade rc`

    • @industrialvectors
      @industrialvectors Месяц назад

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

  • @danser_theplayer01
    @danser_theplayer01 Месяц назад

    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?

  • @diadetediotedio6918
    @diadetediotedio6918 Месяц назад +4

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

    • @araozu
      @araozu Месяц назад +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

    • @VivekYadav-ds8oz
      @VivekYadav-ds8oz Месяц назад +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 Месяц назад

      @@VivekYadav-ds8oz 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 Месяц назад +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.

  • @joshuachan6317
    @joshuachan6317 Месяц назад

    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 😂

  • @Kiyuja
    @Kiyuja Месяц назад

    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?

  • @jakeworldwide
    @jakeworldwide Месяц назад

    its DEENO, have you seen the flintstones?

  • @MeghanDenny
    @MeghanDenny Месяц назад

    they wrote that whole post and not one mention of bun

  • @dvkerns
    @dvkerns Месяц назад +8

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

    • @Tekapeel
      @Tekapeel Месяц назад +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 Месяц назад +1

      That's "dino" in the Flintstones sense!

    • @dvkerns
      @dvkerns Месяц назад

      @@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.

  • @hugmoretreez
    @hugmoretreez Месяц назад

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

  • @Lohan_Guedes
    @Lohan_Guedes Месяц назад

    NOICE!

  • @TrulySinclair
    @TrulySinclair Месяц назад

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

  • @xtraszone
    @xtraszone Месяц назад

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

  • @Bravin_Joshua
    @Bravin_Joshua Месяц назад

    Node =>Deno =>Done?

  • @igorthelight
    @igorthelight Месяц назад

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

  • @xc13z829
    @xc13z829 Месяц назад

    Ryan says "dee-no"

  • @twilightdev
    @twilightdev Месяц назад

    does theo use Deno in prod

  • @gerryramosftw
    @gerryramosftw Месяц назад

    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

  • @dehrk9024
    @dehrk9024 Месяц назад

    im also a dinosaurius

  • @jakethis3355
    @jakethis3355 Месяц назад +1

    x-eh-cute-uh-bowl

    • @TrulySinclair
      @TrulySinclair Месяц назад +1

      Correction, ex-eh-cute-uh-bull

    • @jakethis3355
      @jakethis3355 Месяц назад

      @@TrulySinclair I like that better

  • @Nodsaibot
    @Nodsaibot Месяц назад

    node projects are build to break

  • @andgatehub
    @andgatehub Месяц назад +1

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

  • @isuperman1113n
    @isuperman1113n Месяц назад

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

  • @dharmikthakkar2946
    @dharmikthakkar2946 Месяц назад

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

    • @TrulySinclair
      @TrulySinclair Месяц назад +2

      He said it, raycast with port manager extension i believe

  • @UbuntuBanksie
    @UbuntuBanksie Месяц назад

    It’s deeno

  • @ИванРагозин-я8я
    @ИванРагозин-я8я Месяц назад +1

    Bun

  • @BlackAsLight448
    @BlackAsLight448 Месяц назад

    You should have read the article before making this video

  • @trappedcat3615
    @trappedcat3615 Месяц назад

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

  • @vsolyomi
    @vsolyomi Месяц назад +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.

  • @MrDaAsif
    @MrDaAsif Месяц назад +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 🙃

  • @mopifyz
    @mopifyz Месяц назад

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

  • @zx-sy1qh
    @zx-sy1qh Месяц назад

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

    • @VivekYadav-ds8oz
      @VivekYadav-ds8oz Месяц назад +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.

  • @user-qq7yc1qp8z
    @user-qq7yc1qp8z Месяц назад

    deno deploy pricing is insane tbh, more expensive than vercel

    • @IyaRivvikyn
      @IyaRivvikyn Месяц назад

      maybe because they using GCP instead AWS

    • @user-qq7yc1qp8z
      @user-qq7yc1qp8z Месяц назад

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

  • @ohitsjudd
    @ohitsjudd Месяц назад +10

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

    • @MachineYearning
      @MachineYearning Месяц назад +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ъ Месяц назад +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 Месяц назад +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ъ Месяц назад

      @@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 Месяц назад +1

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

  • @Dik131WZD
    @Dik131WZD Месяц назад

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

  • @tonypujals
    @tonypujals Месяц назад +1

    Deno is pronounced "deeno" (dēno)

  • @MeghanDenny
    @MeghanDenny Месяц назад

    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 Месяц назад

    Very demure very mindful

  • @tinahalder8416
    @tinahalder8416 Месяц назад +1

    U r just bad in python 🫠

  •  11 дней назад

    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? 🙃