What are my thoughts on Bun?

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

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

  • @danyacoding
    @danyacoding 11 หลายเดือนก่อน +40

    Looking spiffy with the mustache, sir

    • @PraiseYeezus
      @PraiseYeezus 11 หลายเดือนก่อน +7

      he definitely looks like a senior dev now, lol

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

      Kinda like a pirate 🦜

    • @vsuperbhat
      @vsuperbhat 11 หลายเดือนก่อน +7

      ​@@PraiseYeezusMore like Señor Dev 😁

  • @ayushgogna9732
    @ayushgogna9732 11 หลายเดือนก่อน +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 11 หลายเดือนก่อน +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 11 หลายเดือนก่อน

      I’m sticking to node for now😊

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

      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 11 หลายเดือนก่อน

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

    • @minnow1337
      @minnow1337 11 หลายเดือนก่อน +5

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

  • @unusedTV
    @unusedTV 11 หลายเดือนก่อน +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 11 หลายเดือนก่อน +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!

  • @blackpurple9163
    @blackpurple9163 11 หลายเดือนก่อน +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

  • @SeibertSwirl
    @SeibertSwirl 11 หลายเดือนก่อน +4

    You’re doing great babe ❤

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

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

  • @SixtiesFan87
    @SixtiesFan87 11 หลายเดือนก่อน +4

    Employers want you to have 5 years of experience with it

  • @yuhanna_kapali
    @yuhanna_kapali 11 หลายเดือนก่อน +8

    Looks like you got promoted to senior developer 😂😂

    • @WebDevCody
      @WebDevCody  11 หลายเดือนก่อน +3

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

    • @yuhanna_kapali
      @yuhanna_kapali 11 หลายเดือนก่อน +1

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

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

    That's a nice look you have today Cody ❤

  • @philheathslegalteam
    @philheathslegalteam 11 หลายเดือนก่อน +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  11 หลายเดือนก่อน

      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 11 หลายเดือนก่อน +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.

  • @codinginflow
    @codinginflow 11 หลายเดือนก่อน +2

    Bruh I didn't know Guy Fawkes makes TH-cam videos now!

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

      😂

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

    Nice mustache sir, you look amazing.

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

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

  • @benheidemann3836
    @benheidemann3836 11 หลายเดือนก่อน +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 11 หลายเดือนก่อน

      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.

  • @Michael-Martell
    @Michael-Martell 11 หลายเดือนก่อน

    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.

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

    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.

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

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

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

    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.

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

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

  • @thomasreese5000
    @thomasreese5000 11 หลายเดือนก่อน +1

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

  • @aka.theos.
    @aka.theos. 11 หลายเดือนก่อน

    Saying increase performance a little is an understatement honestly

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

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

  • @akam9919
    @akam9919 11 หลายเดือนก่อน +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.

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

    I'm looooooving Bun! :D

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

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

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

    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 11 หลายเดือนก่อน

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

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

    hi what's the vscode theme

  • @caresbruh
    @caresbruh 11 หลายเดือนก่อน +1

    sorry to say but it is still not production ready

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

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

  • @user-eg4qz9yc7e
    @user-eg4qz9yc7e 11 หลายเดือนก่อน

    svelte kit has a bun adapter

  • @Trav164
    @Trav164 11 หลายเดือนก่อน +1

    What is this vscode theme?

  • @abhinav.sharma
    @abhinav.sharma 11 หลายเดือนก่อน

    Cody turning into primagen

    • @WebDevCody
      @WebDevCody  11 หลายเดือนก่อน +1

      I just need a yoga ball and a personality

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

      ​@@WebDevCodyyou have the humor

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

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

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

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

  • @SRG-Learn-Code
    @SRG-Learn-Code 11 หลายเดือนก่อน

    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 11 หลายเดือนก่อน

      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 11 หลายเดือนก่อน

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

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

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

    • @WebDevCody
      @WebDevCody  11 หลายเดือนก่อน +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 11 หลายเดือนก่อน

      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

  • @SR-zi1pw
    @SR-zi1pw 11 หลายเดือนก่อน

    You look good 👍

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

    Why is Javascript core so much faster

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

    Theme ?

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

      Bearded theme

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

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

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

      That’s the mac screenshot tool

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

      Oh okay thanks

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

    What do you think about deno?

    • @WebDevCody
      @WebDevCody  11 หลายเดือนก่อน +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 11 หลายเดือนก่อน

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

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

    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  11 หลายเดือนก่อน +1

      That would be fine I think

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

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

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

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

    • @mertturkmenoglu99
      @mertturkmenoglu99 11 หลายเดือนก่อน +2

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

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

      @@mertturkmenoglu99I believe WSL is an option on Windows.

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

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

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

      Is this a joke or are you for real?

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

      @@WebDevCody that's very real :)

    • @joaopedrovoga5497
      @joaopedrovoga5497 11 หลายเดือนก่อน +1

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

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

    First?