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

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

КОМЕНТАРІ • 70

  • @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 Рік тому +10

    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.

  • @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 11 місяців тому

      i think you meant from node to bun

    • @CodingEagle_OFFICIAL
      @CodingEagle_OFFICIAL 11 місяців тому

      @@luiggymacias5735 thanks for the heads up 😁

  • @juanmacias5922
    @juanmacias5922 Рік тому +2

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

  • @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  11 місяців тому

      Agreed with all of the above!

  • @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?

  • @kameikojirou
    @kameikojirou Рік тому +1

    Awesome, more Bun!

  • @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 7 днів тому

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

  • @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 🙂

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

  • @whyrulikedis8248
    @whyrulikedis8248 8 місяців тому

    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.

  • @justingiovanetti
    @justingiovanetti Рік тому

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

  • @bryson2662
    @bryson2662 Рік тому

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

  • @codecaine
    @codecaine 6 днів тому

    I love bun.

  • @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?

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

    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!

  • @twd2
    @twd2 Рік тому +1

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

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

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

  • @whoknows3679
    @whoknows3679 11 місяців тому

    Have u tried deno?

    • @JamesQQuick
      @JamesQQuick  11 місяців тому

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

    • @whoknows3679
      @whoknows3679 10 місяців тому

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

  • @7ala9at
    @7ala9at Рік тому

    but where deploy my bun projects in production?

    • @gerrypratama4835
      @gerrypratama4835 6 місяців тому +1

      VPS Bro, so many support with linux

    • @7ala9at
      @7ala9at 6 місяців тому

      Thank you

  • @olafk8232
    @olafk8232 Рік тому

    Comparison to Deno would be interesting.

    • @JamesQQuick
      @JamesQQuick  Рік тому

      Yeah I should probably give Deno a try!

  • @chrisnaadhi
    @chrisnaadhi Рік тому +13

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

  • @shakapaker
    @shakapaker Рік тому +1

    Not workihg on Windows

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

  • @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 11 місяців тому +1

      1 language for both front end and back end

    • @JamesQQuick
      @JamesQQuick  11 місяців тому

      It's a big benefit!@@Brad_Script

    • @SailBuddha
      @SailBuddha 11 місяців тому

      @@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 11 місяців тому +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.

  • @Noritoshi-r8m
    @Noritoshi-r8m Рік тому

    Bun

  • @ValentinDegenne-q1y
    @ValentinDegenne-q1y 9 місяців тому

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