Get Ready for Deno 2.0

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

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

  • @j0of
    @j0of 2 месяца назад +87

    all my homies love deno

    • @VarunPramanik91
      @VarunPramanik91 2 месяца назад

      Smiling through it all! Can’t believe this my life

    • @cotyhamilton
      @cotyhamilton 2 месяца назад +1

      Sup homie

    • @kollpotato
      @kollpotato 2 месяца назад

      i love bun

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

      I love deno too even though I don't know what it is 😂

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

      See you on deploy with JSR incompatibilities, still love and i guess things will fit together some day

  • @agorushkin
    @agorushkin Месяц назад +33

    Deno: Node and NPM are a mess, this is why we made this
    Also Deno: We support Node APIs and NPM packages.

    • @ivan.jeremic
      @ivan.jeremic Месяц назад +13

      because they are actually not a mess all Ryan Dahl needed was touching grass and take a break instead of creating Deno.

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

      @@ivan.jeremic but deno is better in some aspect compared to Node. And because of Deno node is also making quite a good progress.

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

      @@shirshak6738 because of bun*

  • @seth111yta1
    @seth111yta1 2 месяца назад +38

    > be me
    > get new "web standards" typescript runtime
    > try to reference "AudioContext" because web standards
    > throw computer through window
    > go outside to actually touch grass
    > feelsgoodman

    • @nUrnxvmhTEuU
      @nUrnxvmhTEuU 2 месяца назад +5

      the nature has built-in hardware accelerated audio 🤯💀

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

    Love the style of the presentation. Makes the information easy to digest 💡

  • @topmoustache
    @topmoustache 2 месяца назад +12

    Very nice! Congrats Deno 🎉

  • @whoknows3679
    @whoknows3679 2 месяца назад +7

    Exited for deno 2, hope the lsp works well with de node compatibility

  • @RR-bz8bi
    @RR-bz8bi Месяц назад +3

    Integrating Node APIs and npm packages into Deno could introduce some complexity and potentially affect performance due to compatibility layers and additional overhead. No?

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

      Adding the compatibility layer for Node does introduce complexity, but not any overhead. We're committed to performance and keep an eye on all of our releases, and so far performance has improved with all of these additions.

    • @bharathhs1161
      @bharathhs1161 17 дней назад

      Great to hear this ​@@deno_land

  • @jrvidotti
    @jrvidotti 2 месяца назад +13

    Loving Deno!

  • @toidihocdao-ux7ft
    @toidihocdao-ux7ft Месяц назад +1

    I love what you've created with JavaScript. :)

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

    Finally it know how large node community is, and “compatibility just win”🎉

  • @Cyber_Lanka
    @Cyber_Lanka 2 месяца назад +18

    This is all exciting. But without good community support and basic things such as good database drivers there's not much you can prototype or build

    • @jacsamg
      @jacsamg 2 месяца назад +4

      But NPM drivers are supported :)

    • @Cyber_Lanka
      @Cyber_Lanka 2 месяца назад +2

      @@jacsamg not completely without issues, no. Because node compatibility layer is not perfect

    • @jacsamg
      @jacsamg 2 месяца назад +4

      @@Cyber_Lanka I haven't experienced any problems. But I would like to know of any, if you could share something specific, it would be helpful, especially if it's about a database driver.

  • @Rundik
    @Rundik 2 месяца назад +4

    Thanks to bun we now have some node compatibility in deno 😅

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

      That is why we can continue using node:)

  • @najmussakibarko6699
    @najmussakibarko6699 2 месяца назад +15

    Why is the voice so familiar?

    • @xLastxTemplarx
      @xLastxTemplarx 2 месяца назад +6

      I think it's the same guy from the channel called Awesome

    • @mantovani96
      @mantovani96 2 месяца назад +1

      @@xLastxTemplarx I knew I’ve heard his voice before lol

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

      also using the same meme that was used by Awesome

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

      ​@@xLastxTemplarx ya ya ya.. i remember now 😂

  • @zidan3948
    @zidan3948 2 месяца назад +4

    Awesome. Keep up the good work 👍

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

    Anyone knows which tool he use to present? It's so neat and clean

  • @HeatingUpDuke
    @HeatingUpDuke 2 месяца назад +1

    Excellent release thank you!

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

    Looking forward to Fresh 2 as well

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

    God I love Deno!! ❤️

  • @a-yon_n
    @a-yon_n 2 месяца назад +5

    One thing I cannot understand, why do we need to use ‘DENO_JOBS=4 deno serve --parallel main.ts’ instead of ‘deno serve --parallel=4 main.ts’. It’s so confusing.

    • @craxkerjack6057
      @craxkerjack6057 2 месяца назад +2

      environment variable?

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

      Maybe the the deno execution context is initiated before cli params are parsed inside V8 so it needs to be an env variable ie mulitthread is just a wrapper

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

    Вот это добрейшее утро;)

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

    Speed comparison with node and bun?

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

    What's the right way to install dev dependency in deno? I tried it but can't seem to get it. It's more trivial to do in bun

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

      You can install dev dependencies into node_modules with `deno install`. But if you want to install deps to `devDependencies` into your package.json, we're currently working on it!

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

    Let's go deno

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

    Love your deno_fmt. Thank you!

  • @QueeeeenZ
    @QueeeeenZ 2 месяца назад +2

    Awesome news

  • @antontimeboy6094
    @antontimeboy6094 2 месяца назад +3

    Great work! I'm soooo looking forward to V2!!!
    One thing I really wish for V2: Nicer peer dependency management, writing React packages, and running React apps, alls written in deno!
    I've been really struggling with that, and all examples I found were either not working, very slow, or just felt very hacky. Being able to write frontend packages and test them in a monorepo, without having to do some hacky compilation step using dnt, that would be amazing.

    • @deno_land
      @deno_land  2 месяца назад

      Thanks for sharing your thoughts. The team is aware of your use case!

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

      Would you mind sharing more information about your mono repo that requires using dnt? We can probably suggest some ideas on simplifying that setup.

  • @sad_man_no_talent
    @sad_man_no_talent 2 месяца назад +7

    deno tryin hard to beat node 🤣🤣🤣

    • @UliTroyo
      @UliTroyo 2 месяца назад +2

      I guess they say "trying" to mean "succeeding" where you're from

    • @sad_man_no_talent
      @sad_man_no_talent 2 месяца назад

      @@UliTroyo nah man u deno fanboy look what they did just get a fraction of node's power

    • @RustIsWinning
      @RustIsWinning 2 месяца назад +1

      ​@@sad_man_no_talentwhat is that power that you are talking about? Ohh you mean the power of being outdated...

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

      @@RustIsWinning another fanboy u need to find it yourself otherwise u won't learn

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

      @WydionWytcher-o9 I commented 3 weeks ago and looks like u got here after seeing deno 2.0 huh where have u been before that?

  • @honyara-industries-employer
    @honyara-industries-employer 2 месяца назад +1

    time to replace node

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

    hell the fuck yes!

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

    Some can this is Awesome 😊

  • @droosoo
    @droosoo 2 месяца назад +2

    Thats actually huge you support gcloud stuff now bun has never really hot these packages to work

  • @qeberodev
    @qeberodev 2 месяца назад

    Amazing!!!

  • @ankit.chaurasia
    @ankit.chaurasia Месяц назад

    Genuine Question, How is this better than Bun?

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

      Deno operates with a single TS dialect, unlike Bun. That leads to many benefits, e.g. TS-native library authoring. So much mess with d.ts and module formats, etc. become a non-issue. But I'm currently on Bun because it "just works" and because it's written in Zig (I have a Rust derangement syndrome).
      I might give Deno another chance later in the game, though.

  • @mmayla0
    @mmayla0 2 месяца назад +1

    What’s PQLite? Is this SQLite typo?

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

    > much awaited
    async joke :3

  • @vikingthedude
    @vikingthedude 2 месяца назад +1

    I love deno but the lsp in neovim could do better

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

    i love BunJS 🎉

  • @cybresquid
    @cybresquid 2 месяца назад +1

    Well I learned my lesson, guess I won't click on any Deno 2 stuff in the future

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

      Thumbnail literally says "Deno 2 coming soon" not "Out now"

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

    can it run webpack?

  • @byailen
    @byailen 2 месяца назад +4

    And? why should i choose this over node runtime?

    • @sudodesire
      @sudodesire 2 месяца назад +12

      because it's deno and logo is better than then node

    • @GolderiQ
      @GolderiQ 2 месяца назад +6

      Deno Deploy, All-In-One out of the box: no build TypeScript, security, test, parallel server on all cores, offline capable package manager like Yarn and PNPM, and so much more

    • @byailen
      @byailen 2 месяца назад

      @@sudodesire What you say is more convincing.

    • @barry5
      @barry5 2 месяца назад +3

      It has a standard library

    • @31redorange08
      @31redorange08 2 месяца назад

      Because Rust.

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

    is it true that you're slower than node and bun?

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

      I believe Deno is not slower than Node.js in general, but it may be slower with something written for Node.js using Node-specific APIs

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

      Depending on the benchmark, Deno is faster than both Node and Bun. Give it a shot and let us know 😎

  • @Kitsune_Dev
    @Kitsune_Dev 2 месяца назад

    what about Bun? 😂

  • @01binaryboy
    @01binaryboy Месяц назад

    Can Deno beat Python in performance?

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

      Everything beats Python in performance...

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

      The _V8 JavaScript Engine,_ which Deno leverages, has always been much faster than Python. Much faster.

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

    So instead of improving NodeJS, we build another runtime which doesn't support installing packages as devDependencies yet and many npm packages. Great!

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

      node cant be improved in a significant way

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

      @@mukhlimkurowo yes I was just thinking about it. It takes a lot of time and it's so risky. So yeah deno's existence makes sense after thinking about it.

    • @RR-bz8bi
      @RR-bz8bi Месяц назад

      Starting fresh allows for new architectural decisions that may not be feasible in Node without breaking changes.

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

      @@RR-bz8bi yeah yeah I replied to the other guy about this.

  • @Araxeus
    @Araxeus 2 месяца назад +13

    wtf is this clickbait title, you didn't even talk about Deno 2.0 are you serious

    • @iritesh
      @iritesh 2 месяца назад +3

      who uses deno anyways 👀

    • @nel_tu_
      @nel_tu_ 2 месяца назад

      three dots > don't recommend this sh1t

    • @GolderiQ
      @GolderiQ 2 месяца назад +2

      @@iriteshme

    • @jacsamg
      @jacsamg 2 месяца назад +2

      The updates are to prepare for version 2

    • @ZeroRegretz
      @ZeroRegretz 2 месяца назад +3

      2:40

  • @cromrin
    @cromrin 2 месяца назад +1

    Isnt bun better tho?

    • @RustIsWinning
      @RustIsWinning 2 месяца назад +1

      Better in segfaults 😂

    • @cromrin
      @cromrin 2 месяца назад

      ​@@RustIsWinning Werent segfaults an issue like few years ago I believe then patched it pretty quickly? I had been using it for a nearly a year now and I cant really find any bad thing that I can say. Plus its faster then deno cuz its written in zig.

    • @RustIsWinning
      @RustIsWinning 2 месяца назад +1

      @@cromrin yep they fixed all crashes and accidentally left open more than 400 issues + Zig is clearly faster in segfaulting lmao

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

      Bun has a whole different vibe than Deno. Deno has been extremely solid & stable in everything I've used it for.

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

      @WydionWytcher-o9 I would suggest you to learn a system programming language. Maybe one day you will understand how things work...

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

    what is this for actually? I don't see point of using it if I have already javascript in my browse and it runs js scripts well

    • @RR-bz8bi
      @RR-bz8bi Месяц назад

      To run web servers and backend applications, handle databases, and process files directly from JavaScript or TypeScript.

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

    Your monotonous voice and intonation are worse than those generated by AI

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

    The problem with deno is typescript, fuck that shit

    • @js-ny2ru
      @js-ny2ru Месяц назад +4

      You don't need to use TS in Deno.

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

      You hate those who write garbage typescript and force you to conform to their garbage code, not typescript itself.

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

      Is Python better? What high-level programming language do you propose then?

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

      People who hates TS have seriously a mental illness because they love to work more instead of making their life easier with types

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

    The style of these presentations is a reason why Bun has outpaced Deno. Less memes, more information please.

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

      That's your opinion 👎🏻
      needless to say we don't share it 🥱

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

      @WydionWytcher-o9 well, I tried Deno, but eventually switched from Node to Bun... Benefits are clear: it's NPM compatible, it's super fast, it works. If there's almost no cost of migrating from NodeJS and many benefits - why not to migrate? Deno's huge mistake was to add NPM/Node compatibility such late in the game. I'm going to be with Bun midterm, and switch to another language (maybe Mojo) longterm.

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

      ​@@IvanKleshninMOJO LOL. They could not even open source the compiler. Also good luck with your segfaulting runtime and with worse TypeScript UX 😂

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

      @@RustIsWinning 🥱

  • @Disorrder
    @Disorrder 2 месяца назад

    but... why? What about bun?

    • @recrof
      @recrof 2 месяца назад +4

      bun is much more unstable

    • @31redorange08
      @31redorange08 2 месяца назад +2

      What about it?

    • @RustIsWinning
      @RustIsWinning 2 месяца назад +4

      I looove segfaults

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

    Bun is better

  • @justafreak15able
    @justafreak15able 2 месяца назад

    Meh