Bun Is Better Than I Hoped

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

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

  • @ZakiWasik-q4u
    @ZakiWasik-q4u ปีที่แล้ว +322

    If you're worried about disk space on Mac OS you could run a script that deletes node_modules for projects you've not used in a while. When Bun is so much faster it's not a big deal to reinstall that project you didn't work on for a week anyway.

    • @t3dotgg
      @t3dotgg  ปีที่แล้ว +161

      This is lowkey genius

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

      🐐

    • @DatNguyen-vj1ro
      @DatNguyen-vj1ro ปีที่แล้ว +30

      There is a project for that. It's npkill

    • @Mempler
      @Mempler ปีที่แล้ว +29

      ​@@DatNguyen-vj1rolet's rename it to bunkill

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

      Truly a missed opportunity not calling it npfree

  • @chyldstudios
    @chyldstudios ปีที่แล้ว +213

    I was ignoring Bun, but after this release it actually looks pretty impressive. They may have a new convert.

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

      isn't normal to ignoring under 1.0 product?

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

      @@ricoaw500I agree, definitely hold out on it for now, play around with it, but don't transitoin your entire codebase just yet imo. Wait until the product is more stable, because there WILL be major changes and items being deprecated in future releases (meaning you have to remove and change all of your codebase again).

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

      For my personal projects I will go with 1.0
      But with team based or my company related projects I would prefer 2+ or 3+ version with more than sizeable community to even consider it.

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

      @chyldstudios
      bro can you guide me in my career

  • @WillViles
    @WillViles ปีที่แล้ว +99

    All the performance benefits are great, but if it frees us from esm/cjs hell, that could be the most compelling feature.

  • @avid459
    @avid459 ปีที่แล้ว +101

    This is one of those videos that come once in a thousand years where I agree with Theo

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

      aside from tailwind yes

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

      Mainly because Theo won't be on TH-cam for a Thousand years.

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

      @@trappedcat3615 💋🐴

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

      @@trappedcat3615 Yes he will. Ever heard of immortal.js?

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

      Lol I disagree with him in this one (and many more), benchmarking proves nothing since it has nothing to do with real world apps

  • @JonasLekevicius
    @JonasLekevicius ปีที่แล้ว +74

    Actually, bun shouldn’t use more disk space than pnpm on macOS. On APFS, clonefile is “copy-on-write” but otherwise acts like link. As long as you don’t modify node_modules content, it’s same disk usage as pnpm.

  • @Archheret1c
    @Archheret1c ปีที่แล้ว +298

    The ability to run both cjs and esm at the same time is a major selling point to me. In big ecosystems, this can be surprisingly painful.

    • @ycombine1053
      @ycombine1053 ปีที่แล้ว +22

      1000%. I've spent wayyy too much time tweaking tsconfigs and package jsons trying to get modules to work the way I want them to. Having a "it just works" solution is a huge benefit.

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

      ⁠yea man, why did they make import incompatible with require 😢

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

      yea, i was saying back then that node.js should added it like this. but "noo we will never be able to drop require then", for what i say the Date object is foobar too, the fix is add new syntax, so why can't we do it for import too.

    • @mickolesmana5899
      @mickolesmana5899 ปีที่แล้ว +4

      @@wliaputs that's simply because ES standard vs Node Standard, the right question to be asked is, why the hell module is introduce very late in the language

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

      I agree. Additionally, the fact that everything is splintered in first place for very little in terms of real world benefits is atrocious. Even if there was a benefit of sorts, there is no real reason why I shouldn't be allowed to just use both module types, at least on the backend. There is no benefit to treeshaking on the server unless you have a million dead packages in your node_modules. However, if you have that, you are probably doing something wrong or have implimented a build step to elminate all that dead code, in which case, how you import still means nothing.

  • @napapt
    @napapt ปีที่แล้ว +10

    The cached installation wth Bun was so fast that I perceived is as an exception was thrown, my experience has been like: "If the logging finishes too fast it's because something went wrong"

  • @Slink1
    @Slink1 ปีที่แล้ว +24

    I have replaced Pnpm with Bun completely in the last few months and it completely transformed how I develop.

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

    Let's go Ziggggggg !
    Love seeing this focus on performance and usability.

  • @Niki2k1
    @Niki2k1 ปีที่แล้ว +62

    Bun even can compile to an single executable (+ you can embed files into it which is insane). This is going to improve my deployment to customer servers so much

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

      Is this in their docs. Im trying to build something like pocketbase for fun

    • @shadowangel-ou6bg
      @shadowangel-ou6bg ปีที่แล้ว

      Where is this ? I see in build you can build to a bun target which optimizes a build but i don't think it's like hermes that compiles java-script statically.

    • @Dev-Siri
      @Dev-Siri ปีที่แล้ว

      ​@@shadowangel-ou6bg you are correct it doesn't work like hermes. It packages the Buntime and JavaScript source files in the binary which is then run by Bun when it is executed

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

    I bought into bun wholesale from the beginning, and following its progress has been amazing. My workflow has gotten so much faster.

  • @RhysSullivan
    @RhysSullivan ปีที่แล้ว +67

    Bun looks so good, the moment it's a bit more stable for Windows I'm moving over to it. While the speed improvements are nice, the biggest thing for me is being able to just write Typescript and have it work without having to fight with configs.
    I'm hoping after their core is more stable they'll also take a look into improving the linting world of Javascript

    • @dmitriidemenev5258
      @dmitriidemenev5258 ปีที่แล้ว +7

      It feels like having it on WSL 2 is going to be faster than the alternatives

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

      You done much on WSL2 yet? I've seen things be faster there than windows.

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

      Oh yeah, linting out of the box would be great

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

      why not just use WSL?

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

      To be fair, Deno has supported this for quite a while now.

  • @SzaboB33
    @SzaboB33 ปีที่แล้ว +4

    What an eye opener how much CPU time we waste all the time.
    I chuckled when you said "it's sad to see", no, ITS AWESOME, it was 24x faster than the fastest solution we had so far :D What a time to be alive

  • @danielkakai-bw7tc
    @danielkakai-bw7tc ปีที่แล้ว +10

    Release of the year, great work by the Bun team.

  • @coderaiders-yt
    @coderaiders-yt ปีที่แล้ว +5

    I love that Bun was built with Zig

  • @w01dnick
    @w01dnick ปีที่แล้ว +21

    8:45 isn't macos' `clonefile` behave like Linux btrfs `cp --reflink` ? So it doesn't really takes a space thanks to CoW (unless you're changing one of the copies)

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

      I think so, from what a quick search into the subject is yielding, so long as the drive is using APFS, since HFS does not support CoW, but APFS does, so any more recent mac should get the space savings as well.

  • @wlockuz4467
    @wlockuz4467 ปีที่แล้ว +10

    Finally some real innovation in this field. Super hyped for Bun.

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

    Man!! That last part amazed me 😮 . Hopefully deployment tools start supporting Bun, that’s usually one of the main blockers for organizations that have a lot of restrictions in their tools and tech stack

  • @athepeanut4
    @athepeanut4 ปีที่แล้ว +15

    8:10 Under "Installation strategies": you can use the --backend flag to specify how to "copy" into node_modules, and force hardlinks even on macOS. But clonefile is copy-on-write, so it isn't really needed.

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

      this is nice to know

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

      True, clonefile copies only the metadata.
      "The cloned file (dst) shares its data blocks with the (src) file but has its own copy of attributes, extended attributes and ACL's which are identical to those of the named file"
      I love COW filesystems. I wonder if Bun does something similar in Btrfs.

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

    I've tried bun on some projects a while ago and it was missing a lot of stuff that I needed. Nowadays it seems it got everything I should need, so I'm thinking of giving it a try again.

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

    Employers already asking for 3 years experience in bun.

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

      Psssh 3 is for entry level devs. 8 for seniors!

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

    Bun - "JavaScript so fast it's written in Zig"

  • @dirty-kebab
    @dirty-kebab ปีที่แล้ว

    I've followed you for at least the last two years!
    You've become so mature, and I'm glad to say I respect you a lot for it!

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

    It's amazing, Bun provides the cool features of JS ecosystem in a single tool. I really urious how they can make these features in a very short time compared to other tools that took many years to be matured.

  • @martiananomaly
    @martiananomaly ปีที่แล้ว +4

    Bun's speeds are just absolutely insane. That too in practical usecases.

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

    Theo: justifies not using bun in order to save disk space
    Als Theo: I just can justify not using it

  • @sortof3337
    @sortof3337 ปีที่แล้ว +4

    import and require works, wtf. I am sold. I am a bunny now.

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

    It's nice to see a new project with such a huge scope like bun, that proves that things can be simple yet crazy fast. Glad to see so many improvements in the JS ecosystem!

  • @Chris-se3nc
    @Chris-se3nc ปีที่แล้ว

    Sounds like bun has been baking to perfection since the last time I looked at it. Think it’s time I visited the bakery.

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

    But, but.. we were told NodeJS was "fast enough".
    Good stuff, this could be a great time saver.

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

    Thanks for the birthday present, gonna try it soon, it solves most of my pain points with pnpm with a few nice bonuses

  • @ivanjermakov
    @ivanjermakov ปีที่แล้ว +14

    I was quite sceptical of another JS runtime, after not getting much benefit from Deno. But run/build/install times with Bun blew my mind, especially with typescript.

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

    Apple’s webkit is finally getting appreciation

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

    I think it'd be cool to see a video on benchmarks. I see a lot of back and forth about this stuff: how useful they are, how they should be interpreted, what makes for a good benchmark, etc.

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

    Yes, please share future insights on buns real performance difference!

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

    Its soo fast and nice. The file api is also very nice to use. I upgraded a websocket server yestday to use bun. There was one incompatible dependency syncfile read but I could actually remove this dependency because bun has the build in prompt function which is very nice. I could throw away a lot of code actually and it starts up like 4 times faster. Great!

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

    This looks really interesting, some of the features would make it a node killer for beginners too because of all the frictions and headbanging stuff that makes the developer experience for those users really painful, if it weren't for the Windows thing which probably many beginners are using.

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

    Thank you for making me waste 3 days trying to get it running. It's not ready!

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

    Important note, bun on windows wont be as performant as it will get in the future as jarred decided he doesnt have enough time before releasing 1.0 to understand how to write fast I/O windows code, so they for now use libuv (what nodejs uses for the I/O)

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

    Gonna try this with a game engine 👀

  • @JLarky
    @JLarky ปีที่แล้ว +4

    But Bun allows you to just remove your node_modules and install them again in a fraction of the second once you get back to the project to save on disk space :)

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

    bun is just awesome for library devs easy setup

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

    It's wild that this started as Jared just thinking "esbuild is cool, lets see if I could make that in zig"

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

    Bun is showing us what javascript could be if every API is implemented natively
    But at the end of the day, normal js code will still be slower, it's just not slow enough to ditch it

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

    Just added bun to my workflow and its been great so far

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

    Killer feature is the easy way you can write the hard stuff in zig, and import it as an esmodule to use in a scripting language.
    Has the potential to overtake python in machine learning.
    Faster and safer than Rust, with a much better dx

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

      How is it safer than Rust?

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

      @@davidt01 yeah well that’s potentially a very long conversation that can go sideways quickly. If rust’s concept of safety works for you, then go for it. There are alternative opinions though.

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

      @@steveoc64 Well from my understanding, Zig has manual memory management, which is inherently not as safe.

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

      @@davidt01 while it may have manual memory management, it has a lot of in-code ways to help you making it safe, and the compiler alerts if there's a memory leak.

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

    Thanks!

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

    Wow! This sounds very cool. Let’s see how it works with bigger more realistic projects

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

      Bro, it's just websites man.

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

    Back in the day we had a project that could reload once for 2.5 minutes. Now people consider using something that instead of 6 seconds installs something in 1 second.

  • @nuvotion-live
    @nuvotion-live ปีที่แล้ว

    Elephant in the room: Electron. Think of how much you are losing by leaving that behind. If you care about using your existing codebase as a feature complete desktop app, it's a dealbreaker. I don't see any path forward for this either :/

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

    I'd definitely switch to Bun for my full-stack applications when they support Solid-Start. As of now, Bun can initialize a Solid-Start project but cannot run it. Node.js runs under the hood, even when I type `bun run dev` command.

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

      I've run into similar issues with `bun create preact`. This is the same sort of issue I've always run into getting Bun to work on projects since it was first announced. Some key step is just outright missing or incompatible, and the workaround is to tear apart the `npm install` or other such process to track it down and "fix" it. This is just to init a toy project.
      It's really disappointing. It all sounds great if you're building without a template from scratch (maybe) or if Bun-specific templates are created in the future, but I figured the whole point was to not have to get "Bun-specific" with everything.

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

      you need `--bun` flag there

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

    I was just at the bun website, I thought let me watch some videos on youtube on it, open youtube and this video is at the top.

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

    Does vercel have plants to add Bun as runtime option?

  • @lamprospitsillou6325
    @lamprospitsillou6325 ปีที่แล้ว +4

    I think tmux has a feature to send keys at the same time to panes, no nees to switch and click

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

    Bun + Linux === Perfect! Your TS/JS frontend/backend all run on Linux anyway!

  • @oscarljimenez5717
    @oscarljimenez5717 ปีที่แล้ว +244

    Is incredible that Theo consider himself a open source mantainer, while having Mark and Julius do all the work 🤣

    • @seannewell397
      @seannewell397 ปีที่แล้ว +72

      He opened a great PR to turbo recently.

    • @hkalisvaart
      @hkalisvaart ปีที่แล้ว +49

      Open source manager.

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

      that's funny

    • @MajorBreakfast
      @MajorBreakfast ปีที่แล้ว +24

      Project management is tedious, don‘t underestimate it

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

      @@MajorBreakfast He doesn't manage it

  • @JohnLovell-FTW
    @JohnLovell-FTW ปีที่แล้ว

    Old dev here... what a day be alive. Complaining about 6 seconds over 0.24 seconds. New dev issues :)

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

    I honestly do not care that much about the performance. Node is maybe slow compared to bun but it's fast enough for most server side apps.
    But the Tooling, OH THE TOOLING. This part got me so excited. The number of hours I've spent in my career setting up parsers, compilers, bundlers, dealing with commonJS/esModules, and then fix it when they break due to some weird dependency.
    This whole concept of not needing to download 37 modules before I even write a single line, just for the tooling, is soooo freaking compelling.

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

    i was waiting for your vid after 1.0 dropped

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

    8:09 hopefully they'll add a `--force-symlink` flag then or a global config (for people that'd prefer disc space over speed)

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

    best hairstyle yet

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

    The bun library is nice, but it has analytics active by default, which means it spies on you. Additionally, it is not compatible with NestJS, despite claims to the contrary. I wouldn't trust using it in a project for anything more than running files; it's not suitable for a real project. Bun is also backed by Y Combinator, which creates a potential conflict of interest with Theo.

  • @bren.r
    @bren.r ปีที่แล้ว

    Great now we just have to wait until 2040 before AWS supports bun in beanstalk.

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

    Well, seems like I'm moving to bun...

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

    As I see your video I have a feeling that everything Bun just solves now out-of-the-box should have worked as is before. I'm just wondering why the whole previously existing ecosystem is so overcomplicated...? It's so funny when you stopped for a moment on the fact that Bun can combine requires and imports in the same file and... wow...! Incredible :)

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

    Poor Deno...barely existed

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

    Real world project benchmark test results after migrating to bun::
    Node.Js
    Total: 97.5701 secs
    Slowest: 0.3324 secs
    Fastest: 0.0326 secs
    Average: 0.0488 secs
    Requests/sec: 1024.9041
    Total data: 1.08 GiB
    Size/request: 11.29 KiB
    Size/sec: 11.30 MiB
    --------------------------------------------------------------------------------
    Bun
    Total: 77.8154 secs
    Slowest: 0.2495 secs
    Fastest: 0.0261 secs
    Average: 0.0389 secs
    Requests/sec: 1285.0923
    Total data: 1.08 GiB
    Size/request: 11.29 KiB
    Size/sec: 14.16 MiB
    --------------------------------------------------------------------------------
    Elysia
    This is a complex application with all kinds of validations and db calls. The migration took around 5 mins but the results were good enough. Keep in mind this is an express application and I'm planning to migrate to Elysia soon.

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

      What are you using to benchmark?

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

      JS/TS is going places!

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

      I don't get the last paragraph.
      Bun is made using Zig.
      Zig/Ruby and Bun have different uses.

    • @39strife
      @39strife ปีที่แล้ว

      thats like a 20% increase overall, feels too good for a drop in replacement

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

      @@coffeefpsHe means actually writing zig code instead of the step between by using bun which is run by JavascriptCore

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

    Can you make a video about running bun on an existing project and see how the transition from webpack to bun-dler is? Thanks!

  • @oliverhughes169
    @oliverhughes169 ปีที่แล้ว +4

    Thanks for such an insightful video, I share your excitement! I'm wondering how easy it would be to move a ViteJS app and test performance gains.

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

    FRONTEND IS SO WILD --- Things getting smashed in benchmarks every month

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

    Wonder if Node will catchup. Its looking like a head to head against Bun and Deno

    • @wisdomelue
      @wisdomelue ปีที่แล้ว +7

      let's tell ourselves the truth, many people aren't actually using Deno tbh

    • @a-yon_n
      @a-yon_n ปีที่แล้ว +5

      @@wisdomelue And more people are giving up Deno.

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

      Well it took NodeJS like half a decade to add built-in Fetch support... so they have a lot of catching up to do

  • @zeMasterRuseman
    @zeMasterRuseman ปีที่แล้ว +4

    just tried to run my nextjs project with bun and it just worked ™ I think node is done.

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

      Does hot reloading works, cause it doesn't work for ne

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

    Very interesting. Would like to see more Bun vids

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

    it defaults to fast copy, but that's configurable, you can choose to use hardlinks anyway

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

    Time for some prototyping….

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

    they took blazingly fast seriously

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

    Some months ago, Jack Herrington tried Bun against Deno and Node, and he faced a lot of segfaults with Bun, besides some other weird behaviors. Hope they fixed those things by now.

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

      Stuff like SQLite has some crazy assumptions like unexpected caches and stuff wonder how they wanna fix these issues without effecting performances

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

    Someone said "File cloning on mac OS is essentially like hard linking with copy-on-write. The one downside is that the filesystem doesn't support this for folders."
    Is this true? If yes, then you could switch to bun in macOS and not worry about disk space usage. Maybe you could test it out.

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

    Is there any version of bun runtime for serverless functions similar to cloudflare's isolates?

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

    can i really trust Bun to send apps to production?

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

    I tried yesterday to add two private registrys It's a nightmare
    The documentation is so bad

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

      Did you figure it out?

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

    nice new challenger!

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

    I hate JS, but bun still managed to make me exited, and create some test projects to see how it works

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

    wow. just wow !!!!

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

    12:35 of course

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

    Can we use Bun in Vercel?

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

    But looks amazing for anyone who doesn't want to learn how to wrangle the other bundlers but occasionally wants to use JavaScript for simple pages

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

    Disk space usage is also as much an important concern as performance. I think it's a little blindsided to always prioritize performance no matter what. Balance is key, so the question is: Why didn't they give a global option in macOS to do hardlinking instead of cloning files? (If a developer like you doesn't want cloned files all over your disk, and is willing to accept the lower performance, why not?)
    Also, can you just hardlink yourself later? Will it work?

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

    I guess the question is why do all of your projects need 2-500mb of node modules...

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

    Well time to rewrite all my projects from Node to Bun before the market gets floded with Bun positions.

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

    Still waiting for fully support with Vite.

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

    bun intended haaaaaaaa

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

    ive been doing this now for about 6 years, and in the js, go, and rust world. i can't believe how many things are in js. i started w/ js so i thought this was normal but it is true some package is released like every month lol. this looks great but how do we know this will be around in 5 years

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

    Bun seems tk just work tm

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

    What blew my mind is that you import Rust functions, just like that.

  • @hamburger--fries
    @hamburger--fries ปีที่แล้ว

    Bun even works on laravel.

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

    I would like to see if you can adopt just parts of Bun not the whole thing. For example, would it be viable to use just the built-in test runner to write tests in an existing Node based project?
    Great video btw

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

    bun is so fast wtf

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

    Can you share link to the project you tested install speed on? I’d like to test it with yarn 4 in pnp mode with global cache (which I guess you didn’t use in the comparison) as it’s cached instal is super fast

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

    Waiting for some websocket benchmarks. Supposedly they have a faster version of express?