What are my thoughts on Bun?

Sdílet
Vložit
  • čas přidán 27. 08. 2024

Komentáře • 97

  • @ayushgogna9732
    @ayushgogna9732 Před 11 měsíci +60

    I think Web Dev is in its golden era so much stuff is changing ever thing is in a competition every product is fighting to be the best its amazing but at the same time confusing for new developers but it is fine

    • @neociber24
      @neociber24 Před 11 měsíci +15

      Although people meme about JS Frameworks coming out each week, I think that's signal of a good ecosystem, where people try to make changes or improve things

    • @smile5281
      @smile5281 Před 11 měsíci

      I’m sticking to node for now😊

    • @MrEnsiferum77
      @MrEnsiferum77 Před 11 měsíci

      it's crap, because casual developers don't need bun, because they build crap apps for crap clients and because crap developers, don't know too much about scalability, performance improvments etc... they jumpwagon on every new tool like it helping building their software... actually u need DDD and strong core, everything else will come into place if u know what are u doing...

    • @ayushgogna9732
      @ayushgogna9732 Před 11 měsíci

      everyone have a choice to choose whatever they like no one is forcing every tool has some pros and cons.@@MrEnsiferum77

    • @minnow1337
      @minnow1337 Před 11 měsíci +5

      @@MrEnsiferum77are you making an argument or are you mad at the world

  • @danyacoding
    @danyacoding Před 11 měsíci +40

    Looking spiffy with the mustache, sir

    • @PraiseYeezus
      @PraiseYeezus Před 11 měsíci +7

      he definitely looks like a senior dev now, lol

    • @null_spacex
      @null_spacex Před 11 měsíci

      Kinda like a pirate 🦜

    • @vsuperbhat
      @vsuperbhat Před 11 měsíci +7

      ​@@PraiseYeezusMore like Señor Dev 😁

  • @unusedTV
    @unusedTV Před 11 měsíci +2

    I notice that whenever something takes longer than +-20 seconds, I won't sit around and wait but instead read something, grab a coffee, or do something else. So then suddenly the downtime increases even further.

  • @WonkiestNebula
    @WonkiestNebula Před 11 měsíci +4

    it's worth doing the install times with caches in place, bun has been a lot faster in my testing.
    bun is messing up typescript types for my front end react app at my job, so it's definitely not production ready for me, but it is very exciting!

  • @SeibertSwirl
    @SeibertSwirl Před 11 měsíci +4

    You’re doing great babe ❤

  • @blackpurple9163
    @blackpurple9163 Před 11 měsíci +2

    I'll wait for your video where you make something full fledged using bun for everything from running to testing to whatever it does

  • @martiananomaly
    @martiananomaly Před 11 měsíci

    I love the moustache trio - You, primeagen and Theo!

  • @SixtiesFan87
    @SixtiesFan87 Před 11 měsíci +4

    Employers want you to have 5 years of experience with it

  • @philheathslegalteam
    @philheathslegalteam Před 11 měsíci +4

    Common misconception about JSC. The Bun team is to blame here for misinforming in their early blogposts.
    JSC is not faster than V8. What makes Bun fast is their custom native implementation of JS & Node apis. Most their APIs use less memory than Node.
    The big reason for going with JSC is that they’re able to just import WebKit api’s directly out of Safari. Which I’m guessing is the reason they’ve been able to move this fast with features. Even the debugger UI is literally ripped out of Safari devtools which is great and time saving.

    • @WebDevCody
      @WebDevCody  Před 11 měsíci

      Good info! Yeah, I remember hearing JSC was a reason it was faster, but I didn’t research too hard before making this video

    • @philheathslegalteam
      @philheathslegalteam Před 11 měsíci +1

      @@WebDevCody it’s technically a reason. It’s faster when it comes to startup speeds, so those fast bun commands are in part due to JSC, but the long running tasks like install or actually running JS itself are a product of good engineering not the engine.

  • @SabarMohamed
    @SabarMohamed Před 11 měsíci

    That's a nice look you have today Cody ❤

  • @codinginflow
    @codinginflow Před 11 měsíci +2

    Bruh I didn't know Guy Fawkes makes CZcams videos now!

  • @yuhanna_kapali
    @yuhanna_kapali Před 11 měsíci +8

    Looks like you got promoted to senior developer 😂😂

    • @WebDevCody
      @WebDevCody  Před 11 měsíci +3

      is the mustache the tell tale sign of a senior dev?

    • @yuhanna_kapali
      @yuhanna_kapali Před 11 měsíci +1

      @WebDevCody yes it is, and it looks great at you

  • @benheidemann3836
    @benheidemann3836 Před 11 měsíci +2

    According to the state of JS 2022 results, 8.5% use Deno regularly vs 70.9% for Node. People are using it but as with any tool, it will take time to see adoption. Especially given how much software has already been built on node.

    • @rand0mtv660
      @rand0mtv660 Před 11 měsíci

      Bun apparently has a better Node -> Bun migration story out of the box. Bun supports many Node APIs so in theory many Node apps should be able to run in Bun runtime.
      I think the problem with Deno is that they took a totally different approach from the beginning by being something totally separate so it's hard to justify actually using it and migrating to it. Now in the last year or so they totally backtracked that idea and went full in with Node/npm support probably because they realized that they won't win so many people over if people cannot use the existing NPM ecosystem. At least that's my theory.

  • @thomasreese5000
    @thomasreese5000 Před 11 měsíci +1

    Bun re-ignited my passion for software development. Not to be that guy, it did make things fun again.

  • @Jongo1
    @Jongo1 Před 11 měsíci

    I honestly thought Bun was a joke/meme until I saw this video!

  • @oscarljimenez5717
    @oscarljimenez5717 Před 11 měsíci

    Nice mustache sir, you look amazing.

  • @aka.theos.
    @aka.theos. Před 11 měsíci

    Saying increase performance a little is an understatement honestly

  • @akam9919
    @akam9919 Před 11 měsíci +1

    Once bun has full coverage for all the node-apis, I'll consider looking at it. Node is just too entrenched that switching to something like bun which only has partial coverage, just isn't worth it. That said, it is exciting to watch from afar. I really want bun to succeed...but it isn't quite there yet.

  • @justine_chang39
    @justine_chang39 Před 11 měsíci

    one thing to keep in mind is if you have an existing package-lock.json in the folder, Bun will not respect it when you do bun install, it will behave like npm install instead of npm ci.

  • @Michael-Martell
    @Michael-Martell Před 11 měsíci

    I tried it as a package manager, it was pretty frickin fast and easy to use. I couldn’t figure out the basic install of next.JS, but because it requires npx it wouldn’t install in my experience but good chance I just didn’t figure it out. I deleted node modules though and reinstalled with bun and was super quick. Dependency installs were practically instant.

  • @rotivanov
    @rotivanov Před 11 měsíci

    Looking good with the mou dude! You are looking like my aussie mates haha

  • @_V__.
    @_V__. Před 11 měsíci

    Cool! Also, hadn’t come across the time command before!

  • @pedroserapio8075
    @pedroserapio8075 Před 11 měsíci

    Little bit tricky to set it on Windows, the Windows executable is limited so I need run inside WSL, not horrible, just not very convenient. Tried to create a React app, not very lucky but created one with the standard Vite, then installed all the dependencies and run with Bun, it is really fast. Super excited but same time I will wait little bit more before putting it in production.

  • @caresbruh
    @caresbruh Před 11 měsíci +1

    sorry to say but it is still not production ready

  • @DamonMedekMusic
    @DamonMedekMusic Před 11 měsíci

    I have a large SvelteKit project and I was testing to see if my local server would spin up faster with bun compared to node. I didn't notice much difference. 😢

  • @juanmacias5922
    @juanmacias5922 Před 11 měsíci

    I'm looooooving Bun! :D

  • @Chat_De_Ratatoing
    @Chat_De_Ratatoing Před 10 měsíci

    hi what's the vscode theme

  • @Trav164
    @Trav164 Před 11 měsíci +1

    What is this vscode theme?

  • @race_
    @race_ Před 11 měsíci

    I would love to see how you would use it as a bundled.

  • @Vantivify
    @Vantivify Před 11 měsíci

    What are u using to show available Commands in terminal?? At 8:18

  • @benotisanchez5583
    @benotisanchez5583 Před 11 měsíci

    Already been messing with it for a few days now. I like what I'm seeing so far, but it's not fully backwards compatible, maybe 90%

  • @noext7001
    @noext7001 Před 11 měsíci

    tried with my current nextjs 13 project, see no difference at all vs pnpm build time

  • @magnuserikkeenrobot1117
    @magnuserikkeenrobot1117 Před 11 měsíci

    who are you and what did you do to @Web Dev Cody? hehe just joking, looks cool with the stache

  • @abhinav.sharma
    @abhinav.sharma Před 11 měsíci

    Cody turning into primagen

    • @WebDevCody
      @WebDevCody  Před 11 měsíci +1

      I just need a yoga ball and a personality

    • @SoreBrain
      @SoreBrain Před 11 měsíci

      ​@@WebDevCodyyou have the humor

  • @SRG-Learn-Code
    @SRG-Learn-Code Před 11 měsíci

    Yesterday I did a clean installation of sveltekit both with bun and pnpm. Bun is two times faster, not 17 times faster. Is marketing and benchmarks bullshit or I'm doing something wrong?
    I'm using WSL. Has anybody else seen results like this?

    • @mormantu8561
      @mormantu8561 Před 11 měsíci

      I mean, those are marketing numbers on Bun's website. They are probably cherry picked and/or not representative of a real project. It's more of a synthetic benchmark I think.

    • @SRG-Learn-Code
      @SRG-Learn-Code Před 11 měsíci

      @@mormantu8561 So is bullshit then, why lie so blatantly when the real result are still good? Kind of sus, I'm going to pass on this one.

  • @feelsthevibes1662
    @feelsthevibes1662 Před 11 měsíci

    Theme ?

  • @cslearn3044
    @cslearn3044 Před 11 měsíci

    It looks great but I wonder if I can make backend with elysia and frontend to be next js, would there be any issues or performance losses? Using windows btw

    • @WebDevCody
      @WebDevCody  Před 11 měsíci +1

      That would be fine I think

    • @cslearn3044
      @cslearn3044 Před 11 měsíci

      @@WebDevCody Will try, will you ever try to do that and post a video about it?

    • @devkobie
      @devkobie Před 11 měsíci

      @@cslearn3044 I think bun isn't fully available on windows yet so you would have to use wsl

    • @mertturkmenoglu99
      @mertturkmenoglu99 Před 11 měsíci +2

      Currently Bun is in beta for Windows systems. Majority of the features are even disabled, you can only install dependencies.

    • @juanmacias5922
      @juanmacias5922 Před 11 měsíci

      @@mertturkmenoglu99I believe WSL is an option on Windows.

  • @vishaldinesh
    @vishaldinesh Před 11 měsíci

    Can someone tell me what he is using to highlight stuff using his mouse?

  • @JLarky
    @JLarky Před 11 měsíci

    Keep in mind that "bun dev" might still be running node, so use "bun --bun dev" just to be sure :-)

    • @WebDevCody
      @WebDevCody  Před 11 měsíci

      Is this a joke or are you for real?

    • @JLarky
      @JLarky Před 11 měsíci

      @@WebDevCody that's very real :)

    • @joaopedrovoga5497
      @joaopedrovoga5497 Před 11 měsíci +1

      I don't know wh6 but bun bun dev just souns so funny to me 😂.

  • @mike110111
    @mike110111 Před 11 měsíci

    What do you think about deno?

    • @WebDevCody
      @WebDevCody  Před 11 měsíci +1

      Never used it, so I don’t have much of an opinion. I didn’t see too much of a benefit over node so I never cared to learn

    • @mike110111
      @mike110111 Před 11 měsíci

      @@WebDevCody I'm interested mainly because of deno deploy

  • @ilearncode7365
    @ilearncode7365 Před 11 měsíci

    So it just makes DX faster, not the website code itself, since it will run in chrome in mlst cases

    • @WebDevCody
      @WebDevCody  Před 11 měsíci +2

      Well bun is a runtime, so it’ll make faster servers. Right now some people write their api using node, but bun is a lot faster (so they say)

    • @oscarljimenez5717
      @oscarljimenez5717 Před 11 měsíci

      But it can also make JS faster in the server, so every framework will benefit. Right now exist some new Bun frameworks that can compete vs Rust and Go frameworks in performance

  • @henrybenedict6357
    @henrybenedict6357 Před 11 měsíci

    I wonder Why bun using js core insted of using spider monkey 🤔

  • @user-eg4qz9yc7e
    @user-eg4qz9yc7e Před 11 měsíci

    svelte kit has a bun adapter

  • @MasayaShida
    @MasayaShida Před 11 měsíci

    Why is Javascript core so much faster

  • @SR-zi1pw
    @SR-zi1pw Před 11 měsíci

    You look good 👍

  • @harunalrd
    @harunalrd Před 11 měsíci

    First?