My First Time with Bun - Why I Believe It Will Replace Node.js

แชร์
ฝัง
  • เผยแพร่เมื่อ 21 พ.ย. 2024

ความคิดเห็น • 71

  • @GeraldScholz
    @GeraldScholz ปีที่แล้ว +3

    I needed to create an app for a client while is was onsite. I was on the clock and bun helped me to get my work done fast. 0 Setup pain. Love it

  • @paulthomas1052
    @paulthomas1052 ปีที่แล้ว +11

    I had a mess around with Bun today too - knocked up a web service layer in a few minutes - not bad at all. I'm not a big fan of NodeJS anymore and looking for alternatives at the moment. Bun is a step in the right direction.

    • @offgridvince
      @offgridvince 15 วันที่ผ่านมา +1

      How's it going with Bun?

  • @maxwebstudio
    @maxwebstudio ปีที่แล้ว +5

    Just running a .ts file without any configuration is a amazing and saves us so much time

  • @jimmyj.6792
    @jimmyj.6792 ปีที่แล้ว +3

    Already try on a new NextJs project and dependencies installation was totally crazy 😅😅 so simple to use 😁

  • @WebDevEducation
    @WebDevEducation ปีที่แล้ว +2

    I'm exactly the same. I've just started using bun working for a new npm package and using bun makes things INSANELY easy! No more gross rollup configs 😆

  • @ali2kan
    @ali2kan ปีที่แล้ว +1

    Love Bun and your new decor! Although, your previously simple background was also very intriguing.

  • @CodingEagle_OFFICIAL
    @CodingEagle_OFFICIAL ปีที่แล้ว +6

    That's really cool. If developers can switch their programs from Node.js to Bun easily and without trouble, then that removes the main barrier to adoption.

    • @JamesQQuick
      @JamesQQuick  ปีที่แล้ว +1

      I think it's still just yet to be proven. It's new, but the more we try it out the greater adoption will be!

    • @luiggymacias5735
      @luiggymacias5735 ปีที่แล้ว

      i think you meant from node to bun

    • @CodingEagle_OFFICIAL
      @CodingEagle_OFFICIAL ปีที่แล้ว

      @@luiggymacias5735 thanks for the heads up 😁

  • @DodaGarcia
    @DodaGarcia ปีที่แล้ว +2

    I really love Bun. Even if it doesn't live 100% up to the hype (nothing ever does), just not having to tinker around every time I want to use Typescript in a new project already makes it a godsend.

    • @JamesQQuick
      @JamesQQuick  ปีที่แล้ว

      Agreed with all of the above!

  • @juanmacias5922
    @juanmacias5922 ปีที่แล้ว +2

    I'm also loving Bun, I'm hoping it takes off in popularity, and adoption!

  • @mentoriii3475
    @mentoriii3475 ปีที่แล้ว +3

    remember when Deno came out to replace node :D , honestly Bun is not that bad though but wont replace node anytime soon

    • @marvinfok65
      @marvinfok65 หลายเดือนก่อน

      Bun is still new compare to node & deno. Hoped that bun will continue to progress make js developers' life easier.

  • @xWe2s
    @xWe2s ปีที่แล้ว +1

    Funny thing is every1 is always mentioning Multer for file uploads, but the fact remains - Formidable is STILL to this date the most downloaded and used in hundreds of prod env.
    It has had not many updates recently, & w/ Node20 you don't even need a pkg but yea.

  • @kameikojirou
    @kameikojirou ปีที่แล้ว +1

    Awesome, more Bun!

  • @ChrisShawUK
    @ChrisShawUK ปีที่แล้ว +1

    I'm doing your astro course at the moment on vscode ... I use a remote node container ... Do you reckon I can just swap out for a bun container and it'll work?

  • @marvinfok65
    @marvinfok65 หลายเดือนก่อน

    The node team had done a great job maintaining it for years, but as it is created more than a decade, helping JS developers with their work. it is just time that something will replace it because of new technology and maybe bun will be that. Still I want to give a big thank you to the node team!

  • @codecaine
    @codecaine หลายเดือนก่อน

    I love bun.

  • @whyrulikedis8248
    @whyrulikedis8248 9 หลายเดือนก่อน

    i love bun and especially elsyia but have had a huge amount of problem with the wsl a few on bun to which makes it not ready at all. love elysia especially with swagger.

  • @twd2
    @twd2 ปีที่แล้ว +1

    I think it's so early to use Bun over Node, but that doesn't mean not to play around 😁!!!

  • @ojikutu
    @ojikutu ปีที่แล้ว

    Can we have multi-threaded support out of the box?

    • @JamesQQuick
      @JamesQQuick  ปีที่แล้ว

      Multi-threaded support meaning be able to control the threads from code?

  • @Salah-YT
    @Salah-YT ปีที่แล้ว +2

    Hmm, I'm not very good yet with NodeJS so what to do about Bun? everything goes very fast bloody-hell bro 🙂

  • @bryson2662
    @bryson2662 ปีที่แล้ว

    Any particular reason you were using fs instead of the bun version?

  • @justingiovanetti
    @justingiovanetti ปีที่แล้ว

    Are the modules local to the project? node_modules are a nightmare to sync.

  • @traviswaithmair4809
    @traviswaithmair4809 ปีที่แล้ว

    What does it look like on ci such as google actions?

    • @JamesQQuick
      @JamesQQuick  ปีที่แล้ว

      Hmm not familiar with Google Actions? What is that?

    • @traviswaithmair4809
      @traviswaithmair4809 ปีที่แล้ว +1

      @@JamesQQuick it was github actions but auto complete changed it...maybe I should re read my comments before posting

  • @chrisnaadhi
    @chrisnaadhi ปีที่แล้ว +13

    bun won't replacing node since bun support for windows was poor 😅

    • @everyhandletaken
      @everyhandletaken ปีที่แล้ว +5

      Maybe it is an opportunity to replace winx also 👍🏻

    • @jasper2virtual
      @jasper2virtual 11 หลายเดือนก่อน

      Thanks god we have wsl

  • @whoknows3679
    @whoknows3679 ปีที่แล้ว

    Have u tried deno?

    • @JamesQQuick
      @JamesQQuick  ปีที่แล้ว

      Not yet? You? What do you like about it?

    • @whoknows3679
      @whoknows3679 ปีที่แล้ว

      Ts support, 0 to deploy verify fast with Deno Deploy and the add ons, such as Denokv, Queues, Deno cron, etc

  • @maelstrom57
    @maelstrom57 ปีที่แล้ว +5

    It's going to take more than quick install time to dethrone Node. I don't see companies using it consistently for the next decade.

    • @everyhandletaken
      @everyhandletaken ปีที่แล้ว +1

      There is more to it, than fast package install 😅

    • @excessivelysalty_81
      @excessivelysalty_81 ปีที่แล้ว +1

      A decade is an eternity in tech to make such a prediction.

  • @olafk8232
    @olafk8232 ปีที่แล้ว

    Comparison to Deno would be interesting.

    • @JamesQQuick
      @JamesQQuick  ปีที่แล้ว

      Yeah I should probably give Deno a try!

  • @shakapaker
    @shakapaker ปีที่แล้ว +1

    Not workihg on Windows

  • @Noritoshi-r8m
    @Noritoshi-r8m ปีที่แล้ว

    Bun

  • @7ala9at
    @7ala9at ปีที่แล้ว

    but where deploy my bun projects in production?

    • @gerrypratama4835
      @gerrypratama4835 7 หลายเดือนก่อน +1

      VPS Bro, so many support with linux

    • @7ala9at
      @7ala9at 7 หลายเดือนก่อน

      Thank you

  • @jjaimealeman
    @jjaimealeman ปีที่แล้ว +1

    SSSOOO, when deploying a Bun project - I imagine the server needs to have Bun installed as well? or would it run natively with nodejs?

    • @maelstrom57
      @maelstrom57 ปีที่แล้ว

      There's barely a host that supports Deno so forget about deploying for now.

    • @SethWeeks
      @SethWeeks ปีที่แล้ว +2

      I use Bun just for local development of an Astro site and then deploy to Netlify which uses Node. Haven't had any issues, but granted it isn't a very advanced use case.

    • @jjaimealeman
      @jjaimealeman ปีที่แล้ว

      @@SethWeeks very interesting ... thanks for sharing 👍

    • @everyhandletaken
      @everyhandletaken ปีที่แล้ว

      @@maelstrom57only where you have no control over runtime, I guess you mean for serverless

    • @maelstrom57
      @maelstrom57 ปีที่แล้ว

      @@everyhandletaken Nope.

  • @SailBuddha
    @SailBuddha ปีที่แล้ว

    The question is why would you want to be JS to the server. Madness.

    • @JamesQQuick
      @JamesQQuick  ปีที่แล้ว

      Because I LOVEEEEE JavaScript :)

    • @Brad_Script
      @Brad_Script ปีที่แล้ว +1

      1 language for both front end and back end

    • @JamesQQuick
      @JamesQQuick  ปีที่แล้ว

      It's a big benefit!@@Brad_Script

    • @SailBuddha
      @SailBuddha ปีที่แล้ว

      @@Brad_Script Problem is that JavaScript is a bit of a toy language, no threading support, no reading/writing to hd. Also you still have to learn a framework.

    • @Brad_Script
      @Brad_Script ปีที่แล้ว +1

      @@SailBuddha that's not entirely true. you can read/write on the server side, on the client side you can also do that but you need the user's input to read the file for security reason, same with writing, the user or the browser decides the location but it's possible. Technically threading also exist with Worker Threads.

  • @ValentinDegenne-q1y
    @ValentinDegenne-q1y 11 หลายเดือนก่อน

    Just came to say I won't watch your video, when the title say it will replace Node.js when it's based on it...