Will Deno 2.0 Replace Node.js?

Поділитися
Вставка
  • Опубліковано 28 лис 2024

КОМЕНТАРІ • 242

  • @ollierkul
    @ollierkul 2 місяці тому +57

    Not replace, but an absolute great competitor pushing JS forwards. DX is really nice

  • @mateuszziomekit
    @mateuszziomekit 2 місяці тому +40

    I totally agree. When building a small MVP or just testing something out, using Deno or Bun is really convenient because you don’t have to worry about setting up TypeScript, a linter, or a test runner. However, for larger projects, the compatibility issues become overwhelming. Additionally, when working in a team, every new member usually has to learn the new APIs.

    • @TwilightTrekker1
      @TwilightTrekker1 2 місяці тому +1

      I'd think it's at least worth considering having to do less imports (larger standard library, node is religious about not adding to their standard library), the built in things that you mentioned rather than being part of the build system, added default security features, and more things to, as qualities that would balance that out.

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

      the reason run run js front or bank . its easy one month one framework and maintain ouch horrible

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

      my teammembers are all named "ChatGPT" so if ChatGPT knows the API, i'm sold

  • @nothingisreal6345
    @nothingisreal6345 2 місяці тому +146

    the standard library is a killer feature.

    • @i3looi2
      @i3looi2 2 місяці тому +5

      no is not. maybe if u were the kind of dev who still adds Lodash to every project only to use 2-3 functions cause Vanilla JS too hard.

    • @jsonkody
      @jsonkody Місяць тому +16

      @@i3looi2 bad take :/

    • @nou4605
      @nou4605 Місяць тому +5

      @@i3looi2 Vanilla JS isn't hard. Its poop. A good standard library is a feature of any well respected language. Not that I expect JS soydevs to understand that.

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

      No one likes setting up jest or vitest​@@i3looi2

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

      @@i3looi2 agreed. lodash is trash bloat lol.

  • @jacobgoldenart
    @jacobgoldenart Місяць тому +6

    Thanks for the Deno content and for mentioning Fresh! I would absolutely love a Fresh tutorial from you that featured how we can incorporate some of these great new Deno 2.0 features and also went into a bit about how Fresh uses Preact for a lot of it's State/Component stuff.

  • @jakeave
    @jakeave 2 місяці тому +3

    I've used Deno for several years for almost all of my personal projects and it's pretty fire. I've been pretty anti dependency so the npm compatibility issues haven't been a big deal, but now the npm support is great. I've liked it a lot.

  • @mhaidarhanif
    @mhaidarhanif 2 місяці тому +105

    The other question: Will Bun replace Deno 2.0 that will replace Node.js?

    • @Mr.BinarySniper
      @Mr.BinarySniper 2 місяці тому +19

      Nope. Bun is a hype. you will understand that soon.

    • @mhaidarhanif
      @mhaidarhanif 2 місяці тому +1

      @@Mr.BinarySniper Thanks, it was just a spin on the video title

    • @chadjaax
      @chadjaax 2 місяці тому +11

      @@Mr.BinarySniper being using it mainly for mostly a year now, it is not just a hype, it is much faster and efficient than node and the compatibility issues decreased significantly.

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

      bun will always be a fork of node/deno, it's redoing the underlying implementation in zig
      which may/may not be the direction the community will opt for/contribute to
      as node is a javascript ecosystem, bun will always behind as the first purpose is optimization

    • @O...Maiden...O
      @O...Maiden...O 2 місяці тому

      and WinterJS will replace all 🤔

  • @OneAndOnlyMe
    @OneAndOnlyMe 2 дні тому

    Deno 2.0 is awesome. The fact that it is just one single executable is mind boggling!

  • @Musikur
    @Musikur 2 місяці тому +3

    I have used Deno pretty much from it's first release and I love it. Only reason I've used Node is for projects which used front-end frameworks which weren't compatible, so this is a huge win as far as I'm concerned, and I will probably start all of my new projects on Deno.

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

      What documentation you followed??

  • @artemonstrick
    @artemonstrick 2 місяці тому +356

    If Deno 3.0 adds head wobbling feature, they will not only kill Node.js but also your channel too!

    • @sahilaggarwal2004
      @sahilaggarwal2004 2 місяці тому +62

      The level of roast... 💀

    • @ganeshkutty3338
      @ganeshkutty3338 2 місяці тому +40

      Love this channel and Kyle is amazing, but the head shake/wobble is so distracting sometimes, I just zone out and watch his head moving and then I have to rewind the video to catch the parts I missed.

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

      @artemonstrick F*** Y**. I am not sure how, but I never noticed until this comment. Now I will never be able to unsee.

    • @javadbagheri9921
      @javadbagheri9921 2 місяці тому +24

      Does the content important for you anyway or just his head shaking? Stop this nonsense hate and go to other channel

    • @Azazelea
      @Azazelea 2 місяці тому +13

      Bruh why he catching strays like this 💀

  • @Aprev
    @Aprev 16 днів тому

    Thanks, Kyle! As a downside of current state of Deno you should have probably mentioned their stubborn decision to have imports contain ts extension. Last time I checked, there were a decent amount of people requesting the status of making file extensions in import statements optional. This lands as a con to me, and pretty heavily, too, since it essentially prevents you from copying your existing code as is, you will have to edit each file to set up file extensions for local imports. This anti-feature has actually killed my starting-to-grow enthusiasm.

  • @tinrab
    @tinrab 2 місяці тому +10

    Deno is being used in prod, e.g Netlify,Ssupabase, Slack. Apparently, it's really great as a platform tool for serverless. Also, because of its security features, it can be a good choice for prod even if you use node during development.

    • @Musikur
      @Musikur 2 місяці тому +1

      Yeah, I was a bit skeptical of Deno Deploy, but having tried it, it's actually quite nice.

  • @henriquematias1986
    @henriquematias1986 Місяць тому +1

    I think it would be cool to learn how to move to deno2 while keeping the source code compatible with node so if you meet a deal breaker you can eject back to node.
    I love the idea of deno2 and starint a new project totally makes sense to start with deno but it's important to do it in a way where if turns out my favourite node.js library doesn't work with it i can easily eject back and run the project using node.
    What i'm trying to say is would be great to have a guide on how to develop backward compatible source code with deno so we can start migrating and creating new projects with deno without fearing of hitting a dead end.

  • @juancamacho479
    @juancamacho479 2 місяці тому +6

    and also can make executables, i can see being useful to just make home servers and be able to share that executable to run those API calls

    • @emanuelec2704
      @emanuelec2704 7 днів тому

      you don't need deno to make executables.

    • @juancamacho479
      @juancamacho479 7 днів тому

      @@emanuelec2704 oh you dont? whats the node.js command to do so? never heard of it

  • @m.praneeth9086
    @m.praneeth9086 2 місяці тому +3

    Nice Content dude.keep doing it . don't think about one's talk bad( i mean trash ) about your channel. U r channel is the best 😎 🐐.

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

    Thanks for diving deep!

  • @JLarky
    @JLarky 2 місяці тому +1

    Reading right from Deno 2 media doc and not realizing that Deno 2 is out next week :)

  • @BobFrTube
    @BobFrTube 2 місяці тому +6

    I was excited so I tried it and -- it left .deno droppings throughout my node_modules and screwed up file links which it doesn't (yet?) support. I'll be more cautious when I try a test run. I really want to like deno but ...

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

    very hyped for more stdlib stuff

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

    Deno imports make up 99% of frustration of working with it. I tried to get into it without expectations, but still was disappointed

    • @lea0o0oo
      @lea0o0oo 2 місяці тому +3

      With version 2?

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

    Its so nice how deno & bun are pushing things forward. I kinda wished node would just take the bullet & die so the greater js ecosystem could move on to a better standard, but I am impressed how much better node 22 is coming along vs where node 16 was at not so long ago.
    I think bun is easier just start using (till it breaks) but deno 2 looks like it could really bridge the gap.

  • @jerrygreenest
    @jerrygreenest 2 місяці тому +1

    JSR looks like a real upgrade, but it's available for NodeJS too, isn't it?

  • @y.m.o6171
    @y.m.o6171 2 місяці тому +1

    i need something to run typescript from go. is there an api/sdk to embed deno ?

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

    Many already came, many will come but node js is always the goat for

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

    I will begin using Deno 2 once Svelkit is supported, though I’m aware that Svelte is already supported.

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

    Might have planned this video release timing just a bit prematurely. Current target (but not commitment based on discussions in the Deno Discord) is next Friday.

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

    Deno does not aim to be a Node replacement, it mainly just want to provide native TS support for a web application run time. But the ecosystem is just too involved around node, and now with node aiming too provide TS support natively too, it's be really hard on the Deno team if people don't want to develop library in Deno

  • @kinsondigital
    @kinsondigital 2 місяці тому +5

    I hope it does replace it. I think Deno is the future. I have been using it for about 1 1/2 years, and it is fantastic. I use it as much as possible unless I can't avoid it.

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

    Hey Kyle, Can you please create video on fastify v5. I would love to watch it.

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

    Please give us some info about bun.js and should we use bun or deno or node

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

    Deno unlike Node is bound to go corpo eventually. The only positive light I see from it is that it might push node to get better. Maybe steal some good features 😅

  • @fabrizio.dipietro
    @fabrizio.dipietro 2 місяці тому

    Hi, could you share this summary document? Thank you.

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

    can we get a performance comparison against nodejs and bun?

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

    so instead 1 we have 3 compatible libs? node deno and bun?

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

    Wszystko co nowe jest świetne, cudowne i jest lekarstwem na problemy tego świata.

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

    Whats with the head shake??

  • @Yatsuki-ish
    @Yatsuki-ish Місяць тому

    You should talk about Bun.js

  • @LS-jv4uh
    @LS-jv4uh 2 місяці тому

    How does it compare to Bun?

  • @KaikeishiTürk
    @KaikeishiTürk Місяць тому

    ms sql bağlantısı hakkında bilgisi olan var mı?
    Ben Deno ile yapamadım. O yüzden ya nodejs ya da php kullanıyorum.

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

    Seems good but I dont know... I dont wanna deal with compatibility issues.

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

    How many JS framework and runtime do you need to learn ? Yes.

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

    What is with BUN? 😊
    (Honestly - Deno and Bun are more experemental, for production Node is most used. Mbe unfortinately. Cos "safety")

    • @VikyWicaksono-z9v
      @VikyWicaksono-z9v Місяць тому

      ua-cam.com/video/dPO4v5q9ULU/v-deo.htmlsi=pPXRmTqolhkBPMnx

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

    oh fuck here we go again

  • @shinoobie1549
    @shinoobie1549 2 місяці тому +1

    I;m just waiting on NODENO to replace Deno. That way it comes full circle

    • @Fred_Klingon
      @Fred_Klingon 2 місяці тому +1

      Fun fact: if you translate "nodeno" to italian, and back to english you get "little knot"
      😅

  • @behrambayramli6545
    @behrambayramli6545 2 місяці тому +3

    i've used bun in prod and performance is good actually

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

    bun js support al npm libraries and 3 time faster than deno but it only support linux and mac it has built in support for typescript and all features

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

    Man, with this I think I will actually finish my dream project. Sorry about this Kyle. Looks like you're going out of business.

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

    Clerk has had a lot of problems in Next.js 13 too

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

    Every time i learn development new technology comes out and theier recruit eligible terms changes

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

    2045 ==> "Deno 5.0 the Node.js killer!"

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

    When will you ever make NestJS content?

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

    I don't see no deno 2.0 release anywhere being released 🤔

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

    Will typescript replace js?

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

    They need to start being supported by NestJS before I consider them.

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

    in the real world most companies don't change tech too often so no, with the original node runtime adding TS support i don't see a big reason to switch anyway

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

      node is slower then bun for example and requires a lot of additional shit bundled, probably the best option would have been t okill the node and concentrate on developing bun/deno

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

    but didnt bun had already been doing it but faster ?

  • @Micha-cc8hf
    @Micha-cc8hf 2 місяці тому +1

    have you seen Bunjs? It can also bundle and even compile to binary file.

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

    waw, they just killed several known libraries. the future is going nuts. gotta update my stack!

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

    Will Deno support Electron.js?

  • @Uncaught_in_promise
    @Uncaught_in_promise 2 місяці тому +16

    This is a tradition. As soon as some freak stuff like bun or deno rolls out, every single programming UA-camr posts 10-15 min video with clickbait thumbnail "Deno / Bun: node js killer?", "Bun or Deno or whatever kills Node js!". Who cares?

    • @barry5
      @barry5 2 місяці тому +1

      Me :3

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

      You’ve successfully escaped the matrix 🎉

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

      As well as every vscode killer/ chatgpt killer out there

    • @neneodonkor
      @neneodonkor Місяць тому +1

      😂 You. That's why you commented.

  • @recursion.
    @recursion. 2 місяці тому +1

    What can deno do that node can’t?

    • @Skylla54
      @Skylla54 2 місяці тому +3

      If you come from Rust and the whole toolchain is way more unified, its a pleasing. The same in go. I also like the native single binary option. : )

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

      It can sell you denos hosting.

    • @recursion.
      @recursion. 2 місяці тому

      @@D9ID9I Yeah I’ve heard on honeypot that they wanted to commercialize this time.

    • @recursion.
      @recursion. 2 місяці тому

      @@Skylla54 Appreciate the input

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

    Can you share us the google docs template?

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

    But Kyleeeee do you HAVE A "BUN" N THE OVEN XD

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

    Arc looks clean 🌟

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

    UA-camrs blabbing about replacing or killing node is getting kinda annoying. The creator of node never intended to replace anything or kill anything, of all people he knows node can probably never be replaced. He just moved on and started a new and hopefully a better project, that's software development. I don't get this kind of content...

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

    The idiosyncrasy of saying that one solution kills another is mindbogglingly strange to me. Nothing is killed in software land. It will always coexist with similar solutions.

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

    not using Notion or obsidian? google docs ftw lol

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

    I like deno

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

    could you use dark mode more. My eyes are burning 😵😵😵

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

    Even the website does not open

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

    Who uses deno in prod?

  • @anikettiwari6885
    @anikettiwari6885 2 місяці тому +1

    Which is better to learn in 2024
    Node js, Golang or java

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

      Golang is literally goated

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

      Node JS is not a language.... I think they're all good, still diffused languages. It's up to you to decide

    • @ColinRichardson
      @ColinRichardson 2 місяці тому +1

      Go with Java.. it will make you appreciate Typescript more.

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

      @@ColinRichardson 😆

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

      Java or C# if you want work

  • @EdsonYamamoto
    @EdsonYamamoto 2 місяці тому +1

    deno again?

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

    Sorry but the real problem is that nodejs has more time so we all feel more confident. More time means more updstes and bug fixes.

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

    Can u make app that counts how many times you shake your head in each video?

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

    Using npm is 2024 is very hard to justify.

  • @WiseDev-u3z
    @WiseDev-u3z 2 місяці тому +5

    Bun js ??

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

      Bun say "write once, cache anywhere". 😂

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

    Oh boy, here we go again. Of course v2 will kill node.js, then v3, v4, etc😂

  • @emonsahariar9292
    @emonsahariar9292 7 днів тому

    Bro, why don't just they replace the javascript? 🤐

  • @EvansClemens-h5h
    @EvansClemens-h5h 2 місяці тому

    Strosin Burgs

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

    And what ever happened to BUN?

  • @onurdevuser3603
    @onurdevuser3603 Місяць тому +1

    Please don't shake your head. I'm getting distracted.

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

    another thing in JS world .... everybody .....run run towards it ...until some one gets up tomorrow and announces hey I have created another lib/framework

  • @_tanzil_
    @_tanzil_ 2 місяці тому +5

    Did you notice this?
    no'de 🔄 de'no

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

      ....... .. Congrats, you just realised the 6 year old joke.....

    • @djsnipa1
      @djsnipa1 2 місяці тому +1

      The creator of Node is the creator of Deno. He named it that way on purpose.

  • @filstudio-zulfadli9554
    @filstudio-zulfadli9554 2 місяці тому

    Me who just start learn node🗿

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

    Wtf why lodash on 2024

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

    Why not bun though?

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

    No, it won't. Too many applications based on Node and too much money and time have been invested in those projects. Same as the PHP based stuffs. For the next N years they will stay.

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

    If Deno hasn't taken off all this time, I doubt it will ever happen. I'd rather bet on Bun

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

      Betting on segfaults? 😂

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

      @@RustIsWinning I never had one since months, Bun is getting there!

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

      Yeah and Bun is just faster

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

    The problem with bun and deno is that if you want something better than node for back end stuff and you have a choice….you just use something that’s not js.
    It’s the same reason none of these front end ui frameworks have replaced react, even though each one is technically better . It’s not going to be a slightly better js rendering spa framework that eventually replaces it, it’s going to be a different paradigm entirely

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

      I agree, I personally use Go now as default for my backend. However, let's not ignore the big advantage that is having frontend and backend using the same language

  • @RomeoAntony-f1e
    @RomeoAntony-f1e 28 днів тому

    Bun will rule next year's and node will be like angular and will shade away. So node has no future, so need high level framework on top of bun. So learning pure node is waste maintenance of poorly documented nodejs project is total waste

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

    I believe node will still be the king

  • @boot-strapper
    @boot-strapper 2 місяці тому +2

    bun is still better

    • @RustIsWinning
      @RustIsWinning 2 місяці тому +1

      Never was. Deno is winning 🦕

    • @boot-strapper
      @boot-strapper 2 місяці тому +2

      @@RustIsWinning deno is slow

    • @RustIsWinning
      @RustIsWinning 2 місяці тому +1

      @@boot-strapper Source?

    • @boot-strapper
      @boot-strapper 2 місяці тому +1

      @@RustIsWinning any benchmark from the last year

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

      @@boot-strapper Ah yes I remember exactly those benchmarks from last year by whoever it was in which they actually showed that Deno is faster. We keep winning 🦕

  • @roccociccone597
    @roccociccone597 2 місяці тому +1

    Go or Kotlin for the win

  • @ok-alarm
    @ok-alarm Місяць тому

    npm run bun --deno 😅

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

    ☝☝☝☝

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

    are you paid by deno my friend? deno is hyper commercial, they spend more money in PR and I am pretty sure in the future more and more commercial shit will be implemented like every "half-free" software does.
    at the end the "comfort" features are laughable or shouldn't even a part of a runtime environment. and in the benchmark part Bun is even faster and has even more height-performance stuff like a build-in sqllite db and more...
    and btw. things like fetch are native js funktions since years.

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

    Enterprise of bugs

  • @kyzsuki
    @kyzsuki 2 місяці тому +1

    can wait deno 2.0 killer called "done".

  • @ezwtwrziehag1736
    @ezwtwrziehag1736 2 місяці тому +6

    why are you shaking your head all the time?

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

      It is so distracting I only watch 1/20 uploads because I know it will annoy the hell out of me.

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

      lmao it's something i noticed early about him. it's funnier when you play at 2x speed. but he's a great tutor so just ignore it

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

    {2024-09-08}