Get Ready for Deno 2.0

Поділитися
Вставка
  • Опубліковано 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