Bun is disrupting JavaScript land

Поділитися
Вставка
  • Опубліковано 7 вер 2023
  • Let's take a first look at Bun 1.0 - the worlds fastest JavaScript runtime. Find out how Bun compares to Node.js and Deno.
    #webdevelopment #javascript #thecodereport
    🔥 Level up AI code generation with DevGPT
    Try it for free: devgpt.com/?
    💬 Chat with Me on Discord
    / discord
    🔗 Resources
    Bun 1.0 details bun.sh/blog/bun-v1.0
    Bun.js Launch Video • Bun 1.0 is here
    Deno NPM modules • You don't need Node to...
    🎨 My Editor Settings
    - Atom One Dark
    - vscode-icons
    - Fira Code Font
    🔖 Topics Covered
    - Bun.js vs Node.js
    - Bun vs Deno
    - How is Bun so fast?
    - Are JavaScript apps fast?
    - Best JS frameworks
    - How to optimize JavaScript performance
  • Наука та технологія

КОМЕНТАРІ • 1,3 тис.

  • @Fireship
    @Fireship  9 місяців тому +550

    Why r u still writing code by hand like a caveman? Try DevGPT for free devgpt.com/?

    • @sck3570
      @sck3570 9 місяців тому +1

      First

    • @MichaelMantion
      @MichaelMantion 9 місяців тому +10

      Did you do a video on Mojo yet? I am so excited for Mojo.

    • @walnutsandbeastiality866
      @walnutsandbeastiality866 9 місяців тому +3

      Bun...? 🤔💭
      ,,It was my decision to do drugs, I did it for fun
      But now I'm done I can get back to puns
      About Kim Kardashian and her *two ton buns of fun*
      So gigantuan that they block out the sun!" 🎶
      (The Key of Awesome)

    • @fridoper124
      @fridoper124 9 місяців тому +13

      chat gpt burn out🤯🤯🤯🤯🤯🤯🤯🤯🤯🤯

    • @MichaelMantion
      @MichaelMantion 9 місяців тому +2

      WOW Mojo requires Ubuntu?? Insane, is it only snap installs or something stupid? If you need to run an app in container you shouldn't run the app.

  • @xtpsxreportsx
    @xtpsxreportsx 9 місяців тому +2945

    Not coining the term "Buntime" for the bun runtime feels like a missed opportunity

    • @borstenpinsel
      @borstenpinsel 9 місяців тому +213

      90s infomercial: does your js runtime time not give you a fun time? Try the brand new buntime.

    • @Core4Films
      @Core4Films 9 місяців тому +47

      You might have just done that my friend, love it 😂

    • @LinkEX
      @LinkEX 9 місяців тому +44

      Bun is still fresh out of the oven, "buntime" can very much still become a thing if the community enbraces it.

    • @mbk0mbk
      @mbk0mbk 9 місяців тому +18

      It's a fun time when it's a buntime

    • @udoyoung1627
      @udoyoung1627 9 місяців тому +5

      howz about 'no Hono' to indicate an anti-phalus-riding response to every shiny new dev tool !!!

  • @SentientSkeletorClipLoop
    @SentientSkeletorClipLoop 9 місяців тому +4956

    Just when you’re getting comfortable and thinking of things you want to build you’re hit with an existential crisis in the last seconds. Bravo, sir.

    • @kai19971201
      @kai19971201 9 місяців тому +169

      I’m going to go say hi to my mom

    • @CoinBR
      @CoinBR 9 місяців тому +82

      I wish I could still do it

    • @coldestbeer
      @coldestbeer 9 місяців тому +50

      JUST LEARN BUN ELYSIA HONO, JUST BUILD A FULL STACK APP WITH UNIQUE IDEA WITH THAT, JUST IMPLEMENT ALL THE ALGORITHMS IN THIS APP, JUST MAKE THE APP LIVE, JUST GET MILLION UNIQUE USERS TO FIND A JOB.

    • @pixobit5882
      @pixobit5882 9 місяців тому +5

      I guess this is JavaScript land

    • @thecoolnewsguy
      @thecoolnewsguy 9 місяців тому +18

      I also came here to complain about the useless tools we're getting that just adds overhead to my poor brain

  • @icedlemontea9922
    @icedlemontea9922 9 місяців тому +83

    4:21 is much more sad after hearing his mom passed away, tell your moms you love them guys ❤

  • @khangle6872
    @khangle6872 9 місяців тому +1323

    Prepare for employer everywhere to put a 5 years Bun experience in their hire requirements

    • @genjii931
      @genjii931 9 місяців тому +174

      I've been eating buns for over 50 years. No problem.

    • @animezia
      @animezia 9 місяців тому +25

      @@genjii931 damn, you are ancient.

    • @_______3558
      @_______3558 9 місяців тому +5

      ​@@genjii931tch missed my chance 25 years late

    • @genjii931
      @genjii931 9 місяців тому +6

      @@animezia I pre-date the Web. And the Internet.

    • @Infiniband11
      @Infiniband11 9 місяців тому +14

      55 years chatgpt experience required

  • @tomiikazi
    @tomiikazi 9 місяців тому +2020

    Amazing! With Bun I will be able to create my own javacript framework much faster!

    • @elixirfun
      @elixirfun 9 місяців тому +73

      s/framework/frameworks

    • @arihantjainable
      @arihantjainable 9 місяців тому +13

      lol

    • @jas0x139
      @jas0x139 9 місяців тому +151

      While you were forming that sentence 50000000 more frameworks were created for Javascript.

    • @elixirfun
      @elixirfun 9 місяців тому +16

      @@jas0x139 Not buying that. We need a benchmark of JS frameworks created in a second for given tech.

    • @seghirissam2662
      @seghirissam2662 9 місяців тому +27

      Please no more framwork

  • @tunvas
    @tunvas 8 місяців тому +17

    4:23 now I understand why he told us this. So sorry for your loss Jeff

  • @ofir6868
    @ofir6868 9 місяців тому +1406

    A truly inspirational video with an important message at the end.

    • @TheMercifulKnight
      @TheMercifulKnight 9 місяців тому +41

      lest us all hugs our mums if we still have them ;'(

    • @rh41
      @rh41 9 місяців тому +25

      Was not expecting that ending

    • @kevinong1555
      @kevinong1555 9 місяців тому +4

      should make "hi, mom" the default output of all our quickstart demos. lots of love to the mommas

    • @geografiainfinitului
      @geografiainfinitului 9 місяців тому

      I don't get it why there is a ASCII cow in there when it says "hi, mom"

    • @theseangle
      @theseangle 9 місяців тому

      ​@@geografiainfinituluibecause he -bunxed- used a package called "cowsay"

  • @FinlayDaG33k
    @FinlayDaG33k 9 місяців тому +1050

    A few years down the road, the creator will start nub to fix the mistakes they made with bun.

    • @theSUBVERSIVE
      @theSUBVERSIVE 9 місяців тому +16

      maybe if his name was ryan dahl

    • @none_the_less
      @none_the_less 9 місяців тому +61

      And start another company, get VC money and continue business as usual. Continuously screwing the ecosystem. 👏👏👏

    • @hemantvetal
      @hemantvetal 9 місяців тому +13

      name it as Nub

    • @nandoflorestan
      @nandoflorestan 9 місяців тому +5

      yub nub

    • @faraznisar3752
      @faraznisar3752 9 місяців тому +4

      No, it'll be unb

  • @YuriG03042
    @YuriG03042 8 місяців тому +10

    Fireship just made a youtube post that explains why he ended the video with "say hi to your mom because you never know how much time you have left" and I'm absolutely in the verge of tears rewatching this video.

  • @dragon_lion1738
    @dragon_lion1738 8 місяців тому +26

    I'm sure your mom is happy up there. Take care dude, we really appreciate all the work you do for your community

  • @lilshake139
    @lilshake139 9 місяців тому +16

    Oh my god the end hits so differently.....

  • @DiglettsOtherHalf
    @DiglettsOtherHalf 9 місяців тому +1255

    As a developer just out of college, who is still learning more about the coding world, videos like these are super helpful. I would have never known about any of this without the Code Report.

    • @aperson4051
      @aperson4051 9 місяців тому +152

      It is fun to keep up to date with the movements, but bare in mind that being on the bleeding edge is not business viable. You may be romanced by the promises of the great beyond, but if you were CEO and you had to stake your everything on the latest unproven hype because... well it's insignificantly faster or cooler or something, would you do it?

    • @maurice22ravel
      @maurice22ravel 9 місяців тому +110

      @@aperson4051 In a heartbeat! Why do you think most startups fail?

    • @LuisSierra42
      @LuisSierra42 9 місяців тому

      @@aperson4051 Fortune favors the brave

    • @MrHitmancheg
      @MrHitmancheg 9 місяців тому

      ​@@aperson4051 they call it "bleeding edge" for a reason.

    • @sourcejosh
      @sourcejosh 9 місяців тому

      Don't listen to those soy boys. If you're not deploying beta frameworks to production then you're not living the dream. Do you really care about what the CEO thinks? No, you want to flex on the boomer devs still living in the days of punch cards and green screens.

  • @Eppeque
    @Eppeque 9 місяців тому +20

    Wow the end hits different now. Stay strong man 🙏

  • @TheGerm24
    @TheGerm24 9 місяців тому +22

    That last part about saying hi to your mom hit hard.

  • @ofir6868
    @ofir6868 9 місяців тому +2103

    Just when you think javascript engines have reached a peak in terms of efficiency, something like this pops up.

    • @ukaszzajac6704
      @ukaszzajac6704 9 місяців тому +178

      when the type annotation proposal for js get added, someone will probably make a complete compiler js that turns fully typed js code to wasm or something like a native lib

    • @ram__z
      @ram__z 9 місяців тому +137

      who ever thinks that?

    • @ram__z
      @ram__z 9 місяців тому +1

      javascript

    • @ram__z
      @ram__z 9 місяців тому

      ?

    • @lbgstzockt8493
      @lbgstzockt8493 9 місяців тому +197

      Never in my entire life have I thought of anything javascript as efficient.

  • @Syncratci
    @Syncratci 9 місяців тому +5

    Bruh, that "say hi to your mom" joke actually got me in my feels

  • @volimsir
    @volimsir 9 місяців тому +179

    Holy crap.
    I mean I knew bun existed, and thought it was interesting that someone is building something in parallel to node and deno.
    But all of these extra goodies sound pretty awesome!

    • @vaisakhkm783
      @vaisakhkm783 9 місяців тому +5

      It's feels like svelte to react... svelte came with batteries included and now we are heading towards htmx...
      We will get 'fun' in 1 year with 10x optimization and nothing build in

  • @r1konTheAutomator
    @r1konTheAutomator 9 місяців тому +3

    4:21 - didn't expect to be teary eyed at the end of this video. Just lost my mom recently 😔

  • @MiniKodjo
    @MiniKodjo 9 місяців тому +351

    Im not even web developper but now I wanna use bun for everything

    • @a-yon_n
      @a-yon_n 9 місяців тому +9

      Except for gRPC since Bun 1.0 still doesn't support HTTP2

    • @driden1987
      @driden1987 9 місяців тому +1

      Same here, I got some scripts using node that I want to migrate to Bun though

    • @IStMl
      @IStMl 9 місяців тому +23

      Fireship's 100 seconds videos usually do that

    • @yt-sh
      @yt-sh 9 місяців тому +1

      xD

    • @LLF1234
      @LLF1234 9 місяців тому

      @@a-yon_n What is gRPC?

  • @spaghettiking653
    @spaghettiking653 9 місяців тому +10

    God damn, that ending tho...

  • @SiX-Feet
    @SiX-Feet 9 місяців тому +66

    This has to be the most important code report this year

  • @kozmikhero6749
    @kozmikhero6749 9 місяців тому +163

    Ya'know I still watch so many coding/tech news channels even though I left the programmer life 4 years ago to become a blue collar welder for a simpler calmer life. The landscape was so crazy for web dev 2015-2021 (really since its been a thing) that I thought I'd leave for a while and come back once things are figured out a bit. Maybe it might be a good time to throw my hat back in the ring and make some side projects for fun on the weekends. These new tools that come out actually look they are fun to use. :D

    • @kockgunner
      @kockgunner 9 місяців тому +21

      I left web dev several years ago and thought I’d take a break. I recently brushed up in my skills and made a personal project but I still don’t enjoy it enough to make it a career. I think I’m a blue collar guy lol

    • @tipeon
      @tipeon 9 місяців тому +27

      I've been cowering in backend side of IT for many years, but now that Internet Explorer is dead, I think it is safe to return to the front end.

    • @touseefcodes
      @touseefcodes 9 місяців тому +8

      If only we had a high quality course to teach us all of this from scratch. All courses become obsolete quickly with the speed these frameworks keep coming out like that lol

    • @kozmikhero6749
      @kozmikhero6749 9 місяців тому +25

      @@touseefcodes The constant learning was my least favorite part of it for sure. It never felt like I was quite done and always halfway somewhere. For welding I could open up a textbook from the 80's and find great information inside it. Not to mention now I'm so comfortable with everything at this point I barely think at work at all. I just listen to podcasts, audiobooks and music and chill out at work where no one bothers me.

    • @touseefcodes
      @touseefcodes 9 місяців тому

      @@kozmikhero6749 that is great. Peace of mind is what matters the most.

  • @NileGold
    @NileGold 9 місяців тому +2

    that Poland sticker looks fire on that macbook 0:15

  • @yajirushik2871
    @yajirushik2871 9 місяців тому +2

    Starting nicely and clean with simple information, adding many interesting and amazing topics about back-end, finishing with a little bit of depression. The perfect news at morning.

  • @hundvd_7
    @hundvd_7 9 місяців тому +13

    Being able to use just the bundler is probably its best feature
    I might actually be able to introduce it at my company then

  • @WolfPhoenix0
    @WolfPhoenix0 9 місяців тому +131

    Fireship is like that mad scientist you see in the movies. Always busy with one experiment after another. 😂

    • @thatsalot3577
      @thatsalot3577 9 місяців тому +24

      I see him more as a drug dealer

    • @ScriptKiddy23
      @ScriptKiddy23 9 місяців тому +3

      Reminds me of professor Farnsworth tbh. Probably why I love this channel so much.

    • @LiveErrors
      @LiveErrors 9 місяців тому

      Although at his core he is a Firebase Svelte TS Fanboy

    • @DavidTrejo
      @DavidTrejo 9 місяців тому

      🧪

  • @jackdavenport5011
    @jackdavenport5011 8 місяців тому +7

    I recently decided to rebuild one of my old Discord bots using Typescript and I decided to switch to Bun as the runtime. Let me tell you it is the most productive and most fun I've had writing server side Typescript code in a very long time. No more slow tsc builds, no having 2 terminals open with tsc watch and node. It just works, it's fast as hell and it's so much fun to work with. I never felt like Deno could fully replace Node but Bun probably could for me.

  • @mdmusaibali7306
    @mdmusaibali7306 9 місяців тому +68

    The only tech channel that makes me want to learn ❤.

  • @DereC519
    @DereC519 8 місяців тому +3

    4:19 rest in peace 😢

  • @struggopuggo
    @struggopuggo 9 місяців тому +46

    Very excited for Bun. The DX and new libraries look very handy.

    • @chrisaltec2992
      @chrisaltec2992 9 місяців тому +5

      No sarcasm.
      Avatar has a beard.
      Short sentences.
      Factual way of speaking.
      Not over-the-top excited.
      Senior dev confirmed.

    • @mhhmm__
      @mhhmm__ 9 місяців тому

      @@chrisaltec2992 + always end a sentence with a punctuation.

  • @JohnEGledhill
    @JohnEGledhill 9 місяців тому

    you killed it with this video! maybe one of these every few days, or a longer version every week?

  • @John69
    @John69 9 місяців тому

    Man I love this channel. The thing about saying hi to mom was great. Happy wknd everyone

  • @andredasilva6807
    @andredasilva6807 9 місяців тому +3

    as always fantastic video. i also really like the part to say hi to your mom. a lot of people seem to forget that there is a real life and not just coding

  • @d4rkz3r011
    @d4rkz3r011 9 місяців тому +2

    I heard of Bun over a year ago and I always heard about how fast it is. Good to know it's still fast and seems to simplify lots of JS stuff!

  • @hashaamkhan7684
    @hashaamkhan7684 9 місяців тому +3

    Bro got me emotional at the end

  • @Weahl
    @Weahl 9 місяців тому +18

    I encountered issues with Bun, for example using it as an NPM alternative, some libraries are installed without some of their core folders inside, or it does not support async hooks from Node yet, so I would recommend to wait a bit more and see if they fix the basics

  • @shreym03
    @shreym03 9 місяців тому +71

    Hey fireship, is everything okay with your mom? I couldn't tell if you were generally telling people to visit your mom or if you were missing her
    Edit: I just saw your community post. I'm so sorry for your loss.

    • @harveyhans
      @harveyhans 9 місяців тому +7

      it's just a joke lol dont worry

    • @asatsuki9250
      @asatsuki9250 9 місяців тому +7

      @@harveyhans how about you harvey, is everything okay with YOUR mom?

    • @jb200s
      @jb200s 9 місяців тому +3

      ​@@asatsuki9250but what about YOUR mom ?

    • @Cahnisama
      @Cahnisama 9 місяців тому +6

      Sorry guys, everyone's moms are busy right now. I will let them know once I am done.

    • @shreym03
      @shreym03 9 місяців тому +1

      @@harveyhans Couldn't hurt to ask, you know?

  • @chrisray9653
    @chrisray9653 9 місяців тому +4

    Interesting to see Zig get a major project.

  • @MaJetiGizzle
    @MaJetiGizzle 9 місяців тому +1

    Been messing with bun since the initial beta release. Happy to see it finally at 1.0!

  • @ThundaAaAaAaAaAh
    @ThundaAaAaAaAaAh 8 місяців тому +4

    I never thought I would start crying after watching tech vid yet here I am, sorry for your loss Jeff

  • @arytiwa4351
    @arytiwa4351 7 місяців тому +3

    You were hinting us about your mom at the end.
    Stay strong sir

  • @namesare4fools
    @namesare4fools 9 місяців тому +1

    its wholesome that Fireship keeps reminding us about to check out our Mom since the earlier videos

  • @christian15213
    @christian15213 9 місяців тому

    i was going to ignore this but youre presentation is going to make me try it out. This is the second time now i've seen something about BUN

  • @ivanb493
    @ivanb493 9 місяців тому +299

    I really want to be optimistic for Bun, however they were fixing breaking changes just hours before 1.0. Makes me kind of worried...

    • @eduardoromaguera9707
      @eduardoromaguera9707 9 місяців тому +240

      I would be worried if that was seconds before release. Fixing bugs hours or minutes before release is just the gold standard of being agile and having God level CI/CD 🤣🤣🤣

    • @a-yon_n
      @a-yon_n 9 місяців тому +110

      Actually I’m more worrying about the very release decision. Why the rush? 0.8.1 was just released not half a month ago, and Zig isn’t 1.0 yet.

    • @39strife
      @39strife 9 місяців тому

      @@a-yon_n probably because they got capital and are a startup with a product and need to make ROI

    • @VivaLaDirt
      @VivaLaDirt 9 місяців тому +11

      faster is better 🎉

    • @ivanb493
      @ivanb493 9 місяців тому +74

      @@a-yon_n Exactly, the release of 1.0 feels rushed. 1.0 is supposed to show you that a product is production ready, but it doesn't feel like that with Bun.

  • @patric_forreal
    @patric_forreal 9 місяців тому +2

    I don't know if this would take over
    But it seems like an always go-to choice to the many upcoming Devs 🎉🎉🎉
    Good Video Tho Sir 👌

  • @larrytron1992
    @larrytron1992 9 місяців тому

    I can’t wait to try it out. Been keeping my eye on Bun for a while

  • @MelroyvandenBerg
    @MelroyvandenBerg 9 місяців тому

    Love Bun already! Waiting on the alpine docker image with Bun. I will also check-out Hono!

  • @patrickconrad396
    @patrickconrad396 9 місяців тому +41

    Stoked for Bun. Love seeing these new js tools with so much less complexity involved just to do common tasks. Hopefully Bun lives up to the hype. Don't like hearing it uses Safari's runtime. Probably better but Apple doesn't typically play nice in open source

    • @boscodomingo
      @boscodomingo 9 місяців тому +10

      Yeah wouldn't be surprised if they suddenly pulled the plug out of nowhere and we're left stranded cause they want to build their own (paywalled and incompatible with non-Apple devices) solution

    • @kayurbach5182
      @kayurbach5182 9 місяців тому

      WbbKit is licensed under LGPL.
      Check their wiki.
      en.wikipedia.org/wiki/GNU_Lesser_General_Public_License

    • @carldrogo9492
      @carldrogo9492 9 місяців тому

      These jackasses just keep reinventing the wheel.

    • @onejdc
      @onejdc 9 місяців тому +2

      I don't love Apple for that fact either, but Google/Alphabet has really been pissing me off here lately too...I'm not sure if anyone has done a full ECMA performance comparison here lately, but I would be interested to see if there even are any relevant ones hanging around. For better or worse, V8 replaced a lot.

  • @lahcencodery
    @lahcencodery 9 місяців тому +40

    Bun will make js backend development more fun

    • @GSBarlev
      @GSBarlev 9 місяців тому

      Nice avi

    • @IvanRandomDude
      @IvanRandomDude 9 місяців тому

      For sure.

    • @a-yon_n
      @a-yon_n 9 місяців тому

      Hope one day we don't need to transpile our code before publishing to npm.

    • @raresandrei7205
      @raresandrei7205 9 місяців тому +1

      Backend using any kind of JS is anything but not fun

    • @thecoolnewsguy
      @thecoolnewsguy 9 місяців тому +1

      ​@@raresandrei7205it's actually "anything but fun".

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

    The 'Hi Mom' part got me in tears. I had to go spend time with my mom. Thanks!

  • @joel230182
    @joel230182 9 місяців тому +2

    that poignant end 💔, love it

  • @GSBarlev
    @GSBarlev 9 місяців тому +78

    All the Python devs I've talked with have been extremely skeptical of Mojo (especially when we've had pypy and numba for years). Now that it's general availability, I'm looking forward to some unbiased cross-comparisons (and, hey, may do some myself).

    • @Bersling
      @Bersling 9 місяців тому +57

      Checked the page to download, requires me to log in to download. Now I'm extremely skeptical too.

    • @ivanjermakov
      @ivanjermakov 9 місяців тому +26

      It's not open-source and won't be in the near future.

    • @mattrs1
      @mattrs1 9 місяців тому +6

      I'm truly excited for Mojo.. since it's (planned to be) 100% python compatible on top of many goodies (multiple accelerator support, meant to be parallelized to hell and back) I can see future production environments totally written in Mojo things like, a webserver for an easy API, leverages AI for prompts and if it's performant enough: a Game engine that can do Serverside ML for a ton of logic as close to runtime as possible

    • @fred.flintstone4099
      @fred.flintstone4099 9 місяців тому +10

      I am sure Mojo is alright, and it is super fast, but I don't really care. Sure it would be nice if Python was faster, but that is just one of it's problem. The poor standard library is rather shitty, with no async HTTP client in the standard library, and the JSON module cannot deserialize to classes, doing await is rather awkward since you cannot do it at top-level and need to specify an async runtime.

    • @imanitrecruiterineurope4142
      @imanitrecruiterineurope4142 9 місяців тому +14

      Mojo is nothing new really, there's numba, custom made Cython libraries and even Jython if you really want to go the triple sec way for every needs Python conceivably could put you through. No-one is super excited because it's not open source and it's sketchy for a "corporate solution".
      And if we're real, all Python devs know the grind is not with making Python faster just because that's what a lot of people who don't know Python beyond Junior level complain about. It really is much, much more about finding the perfect package match for your needs and perfecting the knowledge in that area.

  • @funkdefied1
    @funkdefied1 9 місяців тому +4

    Java: make 4 languages for the same runtime.
    JavaScript: make 4 runtimes for the same language

    • @xooq_
      @xooq_ 9 місяців тому

      I need this on a shirt though

  • @joeltldr
    @joeltldr 9 місяців тому

    that last line about kind of hit home for me -- i lost mine in what feels like only recently. memento mori. and thanks for the great video!

  • @MMMS75
    @MMMS75 9 місяців тому +1

    Feels nice to simply web development for people like me in small companies who have to context switch all the time also as a data scientist, data architect, and solutions architect . I’ll see when I swap this in my web projects if it does reduce the complexity of builds and give me some time back in my week.

  • @chieftron
    @chieftron 9 місяців тому +15

    And this is why after starting to learn JS that I'm just like, well wtf? So many awesome things happening and so quickly it makes it difficult to know which one to hone in on.

    • @thecoolnewsguy
      @thecoolnewsguy 9 місяців тому +13

      Welcome to JavaScript world, where people reinvent the wheel for no reason.

    • @randyt700
      @randyt700 9 місяців тому +6

      You're in for a ride. The JavaScript ecosystem will age you decades fast. The landscape changes so much and so fast, you really can't keep up.

    • @ginespanto2841
      @ginespanto2841 9 місяців тому +2

      Welcome to JavaScript world, where people reinvent the wheel for no reason.

    • @oleksiistri8429
      @oleksiistri8429 9 місяців тому

      ​​​@@ginespanto2841if this is true that bun is so fast - tt is pretty major and valid reason, I am up for changes like this

    • @ultimaxkom8728
      @ultimaxkom8728 9 місяців тому

      @@ginespanto2841 Welcome to UA-cam world, where people repeat the comment for no reason.

  • @ishanshishodiya8357
    @ishanshishodiya8357 9 місяців тому +91

    In a few days we'd soon get another runtime environment that'd kill Bun...

    • @chris-hayes
      @chris-hayes 9 місяців тому +56

      "Run" - Bun but written in the superior programming language, Rust.

    • @0jinx
      @0jinx 9 місяців тому +4

      yay, killer buns !

    • @andreicalegari1837
      @andreicalegari1837 9 місяців тому +18

      @@chris-hayes Rust already has Deno

    • @nanonkay5669
      @nanonkay5669 9 місяців тому +2

      This one is hard to beat lol

    • @diadetediotedio6918
      @diadetediotedio6918 9 місяців тому +20

      ​@@andreicalegari1837
      yes but Deno was made to be the next NodeJS, so we need Run to be the next Bun

  • @shaneckel
    @shaneckel 9 місяців тому +1

    This is actually pretty awesome. I really want to know how this feels for deployment and managing issues.

  • @ahmadhabib4564
    @ahmadhabib4564 8 місяців тому +1

    JUST READ YOUR "Hi Mom" post. Sad to hear this and i know she'll be in a great place ❤❤

  • @martinzen
    @martinzen 9 місяців тому +10

    The mark of a senior dev: you grasp the code report's content despite of rofl'ing non-stop

  • @davidharmeyer3093
    @davidharmeyer3093 9 місяців тому +53

    Node had 3 different ways to read from files and we didn’t like how confusing that was.
    So Bun now has 4 different ways to read from files.

    • @JoySingh
      @JoySingh 9 місяців тому +3

      @@kidmosey date and time api 🤢🤮

    • @Toleich
      @Toleich 9 місяців тому

      Yea, but Bun's is better! /s

    • @JoySingh
      @JoySingh 9 місяців тому +5

      @@Toleich js devs on their way to rewrite the entire computer to write a better framework

  • @tontj
    @tontj 9 місяців тому

    Interesting. An all in framework.
    I might give this a try.
    Also thanks for the message in the end. I am gonna say Hi to my families and friends.

  • @utoherozv
    @utoherozv 9 місяців тому

    Oh dang I didn't realize how many videos of yours I watch. I should probably subscribe at some point. I think I'll do that now.

  • @rakaboy1619
    @rakaboy1619 9 місяців тому +3

    js community really benefits when some new tooling is introduced by people outside of js community

  • @devonjon
    @devonjon 9 місяців тому +3

    I have quite a legacy repo I was moving to pnpm. I tried Bun and it was about 25x slower than pnpm. Seems to work really well for small projects but for my specific use case it was quite a let down. Hoping that improves.

    • @FredT34
      @FredT34 9 місяців тому

      Did you ask Bard or github about this issue? People at bun will probably love to fix this edge case.

  • @CalicoArchives
    @CalicoArchives 9 місяців тому

    Holy Sh*t! Bun sounds amazing. I'll have to check it out. Thank you for sharing!

  • @dream_emulator
    @dream_emulator 9 місяців тому

    I love the Hi mom leitmotiv. Wholesome code.

  • @madao4024
    @madao4024 9 місяців тому +18

    I am honoured to have experienced this channel grow to become the biggest coding channel before my very eyes.
    And I came across the channel for the first time just barely 2 years ago with the Video on Emmet Html!

    • @JohnEGledhill
      @JohnEGledhill 9 місяців тому +1

      me too, been here before async/await and chromium

  • @user-nl8cd4qq2m
    @user-nl8cd4qq2m 9 місяців тому +4

    The ending...😭

  • @codewithaus
    @codewithaus 9 місяців тому

    Aww that photo of you and your mom is so cute! Love your moms guys

  • @alexandrumih
    @alexandrumih 9 місяців тому

    Looking forward too seeing how this will gain momentum.

  • @azaleacolburn
    @azaleacolburn 9 місяців тому +2

    I did my own Bun benchmarks and can confirm that they aren't dishonest, Bun is on average 80-100x faster at installing dependencies than npm, on my M1.

  • @4.0.4
    @4.0.4 9 місяців тому +3

    Am I the only one that really appreciates the embedded database? I hope that feature stays, it's the reason I'm going to try it for a small pet project.

    • @caw7542
      @caw7542 9 місяців тому

      Cool let us know how it goes ( hint: you wont)

  • @jeffkevin3
    @jeffkevin3 9 місяців тому

    I just have watched a video made one year ago discussing bun an hour ago, and…… tada! Jeff made this! What a coincidence! 🎉

  • @Brawaru
    @Brawaru 9 місяців тому +1

    If you like random segfaults or obscure crashes in general, you will LOVE Bun!

  • @wamy_
    @wamy_ 9 місяців тому +3

    the problem for me, is that some things still aren't fully compatible such as sockets for peer to peer apps written in JS such as WebTorrent. It likely won't affect a ton of people but Bun is still missing some things that I consider highly important when creating a backend in JS

    • @caiofleury3924
      @caiofleury3924 9 місяців тому

      Just rewrite your app to use bun sockets?

    • @DarkSwordsman
      @DarkSwordsman 9 місяців тому

      I'm sure that with the mass amount of people probably going to use it in the next year, they will add a ton of functionality. Though also, Bun isn't all or nothing. You can take your existing app and pretty much just run it on bun.

  • @ug1131
    @ug1131 9 місяців тому +4

    That's a lot of stuff that Bun can do sheesh🤪

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

    Just watched that video today after knowing you've lost your mom. It hit really hard. I've lost my mom to cancer 2018 and I just felt the last moments I was able to spend with her... ❤ Hi mom.

  • @mzain823
    @mzain823 4 місяці тому

    You didn't have to do it like that at the end. Damnnn. I've existential angst now!

  • @ReasonX3
    @ReasonX3 9 місяців тому +3

    That moment when you're given a new toy but instead of cheer happiness you just wanna scream: "PLEASE, I BEG YOU, STOOOP"!!! It seems as some sort of new trend, instead of creating new future JS frameworks, create new future NodeJS runtimes.

  • @erayagdogan3389
    @erayagdogan3389 9 місяців тому +6

    As an android developer I always complain about new libraries or changes in the framework every few months. Just thinking about frontend and javascript gives me more headache.

    • @thecoolnewsguy
      @thecoolnewsguy 9 місяців тому

      Lucky you. It gives me depression instead lol

    • @rakadoank_
      @rakadoank_ 9 місяців тому +1

      in my opinion as a JS/TS developer, Google does a lot worse than Javascript world. I really can't stand what they are doing in Android native development. Too much change and deprecated methods like every month, and make it unnecessarily complex. Lately i really learn the Kotlin in a Android app as a case in 3 months.
      I still prefer their framework, Flutter, or React Native to build an Android app.

  • @gerantdev
    @gerantdev 9 місяців тому

    4:18 last line is THE LINE of the Year

  • @tobyzieglerrr
    @tobyzieglerrr 9 місяців тому +1

    I dont like JS or TS... but i like what Bun is doing. Will play around with it. Thanks for sharing.

  • @xeryan
    @xeryan 9 місяців тому +5

    Everything just works in a simpler and highly performant way with Bun and it is directly a drop-in replacement for Node.js. Bun is really disruptive in the JS world, also for the frontend (the bundler, jsx support, etc..). I will use it in my next project for sure

    • @heatrazer
      @heatrazer 9 місяців тому +1

      The word "disruptive" gives me the ick.

    • @publicalias8172
      @publicalias8172 9 місяців тому +1

      People who say "ick" give me the ick. Are you my 14 year old sister or an adult trying to fit in? Ick. @@heatrazer

  • @knsense
    @knsense 7 місяців тому +3

    4:23

  • @matsedv
    @matsedv 9 місяців тому

    Good video production, good video content - goooood

  • @jawa_random
    @jawa_random 9 місяців тому

    Those last messages hit hard

  • @MarvinPowell1
    @MarvinPowell1 9 місяців тому +2

    "Hey kid, want to take a look at my Buns? I have the greatest collection of Buns! Everyone loves Buns!" - Animaniacs (the sh*tty 2020 reboot)

  • @keremardicli4013
    @keremardicli4013 9 місяців тому +2

    This is what node should have done in the first place. It is a server solution relying on so many 3rd part packages. A backend language should have its own methods.

    • @cookiemonster208
      @cookiemonster208 9 місяців тому +4

      This is a silly statement. It's like looking at a Tesla and saying this is what Henry Ford should have made.

    • @raresandrei7205
      @raresandrei7205 9 місяців тому +2

      Agreed, but then again, why even use JS for backend tasks in 2023? There are a lot of options if we exclude JS and any of it's frameworks

    • @lgiorgos1
      @lgiorgos1 9 місяців тому

      @@raresandrei7205 because that is probably the language that you know best

  • @Skarpo89
    @Skarpo89 9 місяців тому +1

    That ending really hit me

  • @GreyDeathVaccine
    @GreyDeathVaccine 9 місяців тому

    Oooohhhhh. What a sweet way to end video 🙂

  • @spoddie
    @spoddie 9 місяців тому +6

    I don't know much about JS but it seems like JS developers are always looking for the next big thing.

    • @Daijyobanai
      @Daijyobanai 9 місяців тому +2

      just trying to find something that actually works

    • @carldrogo9492
      @carldrogo9492 9 місяців тому +1

      Yes, they are always looking for the Silver bullet.

    • @user-uk9er5vw4c
      @user-uk9er5vw4c 9 місяців тому +2

      this is why the world improved so much in the last 2 decades

  • @DavidMulderOne
    @DavidMulderOne 9 місяців тому +3

    Anybody concerned that when you put a bunch of different stuff into a single 'thing' it means that any single item on that list can easily become a weak link in the long term?

    • @ReasonX3
      @ReasonX3 9 місяців тому +1

      Yes, and at some time it's gonna backfire.

  • @xDamasciox
    @xDamasciox 9 місяців тому

    The message at the end put a tear in my eye because my mum passed away several years ago.
    Dont take the time with your parents always for granted kids!

  • @liviudanielvasilescu5160
    @liviudanielvasilescu5160 9 місяців тому

    “magical works” phahhaha good one . Good video keep it up 😊

  • @madhououinkyoma
    @madhououinkyoma 9 місяців тому +21

    Ahh.. the world of JavaScript. Always expect the unexpected.

    • @IStMl
      @IStMl 9 місяців тому +1

      its not unexpected once you realise it's cyclic

    • @genjii931
      @genjii931 9 місяців тому

      es.inquisition.js

    • @soanvig
      @soanvig 9 місяців тому

      Fortunately bun has test runner built-in so now I can expect unexpected using bun

    • @guai9632
      @guai9632 9 місяців тому

      ...years after others had it

  • @Android480
    @Android480 9 місяців тому +16

    I just need AWS to officially adopt bun in its runtimes. That will force 3rd party tools like Terraform, Serverless, etc to adopt them into the ecosystem.
    I think the point of bun is that it’s zero configuration. So until 3rd parties actually support them, I don’t want to jump through hoops to get it running

    • @MartinOmander
      @MartinOmander 9 місяців тому +4

      Go with a cloud provider which supports serverless containers. Then you can run whatever programming language you want serverlessly, as long as there is a Docker container for it. I know that Cloud Run from Google supports serverless containers. Maybe other cloud providers do too.

    • @nirnullz
      @nirnullz 9 місяців тому +1

      It’s have docker support, so i think AWS EKS (kubernate) can use it on the pipeline easily. The terra form is just config to manage kubernates automatically, so there is no stopping if you want to use Bun on kube environment.

  • @capi8545
    @capi8545 9 місяців тому

    Damn! Bun seems like literally anything you'll ever need in one package and with 75% (aprox) fewer lines of code and configuration.

  • @dflyboy420
    @dflyboy420 9 місяців тому

    Amazing how a stranger on UA-cam can read my mind so efficiently