Bun is disrupting JavaScript land

  Рет қаралды 969,469

Fireship

Fireship

9 ай бұрын

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 300
@Fireship
@Fireship 9 ай бұрын
Why r u still writing code by hand like a caveman? Try DevGPT for free devgpt.com/?
@sck3570
@sck3570 9 ай бұрын
First
@MichaelMantion
@MichaelMantion 9 ай бұрын
Did you do a video on Mojo yet? I am so excited for Mojo.
@walnutsandbeastiality866
@walnutsandbeastiality866 9 ай бұрын
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 ай бұрын
chat gpt burn out🤯🤯🤯🤯🤯🤯🤯🤯🤯🤯
@MichaelMantion
@MichaelMantion 9 ай бұрын
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.
@SentientSkeletorClipLoop
@SentientSkeletorClipLoop 9 ай бұрын
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 ай бұрын
I’m going to go say hi to my mom
@CoinBR
@CoinBR 9 ай бұрын
I wish I could still do it
@coldestbeer
@coldestbeer 9 ай бұрын
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 ай бұрын
I guess this is JavaScript land
@thecoolnewsguy
@thecoolnewsguy 9 ай бұрын
I also came here to complain about the useless tools we're getting that just adds overhead to my poor brain
@xtpsxreportsx
@xtpsxreportsx 9 ай бұрын
Not coining the term "Buntime" for the bun runtime feels like a missed opportunity
@borstenpinsel
@borstenpinsel 9 ай бұрын
90s infomercial: does your js runtime time not give you a fun time? Try the brand new buntime.
@Core4Films
@Core4Films 9 ай бұрын
You might have just done that my friend, love it 😂
@LinkEX
@LinkEX 9 ай бұрын
Bun is still fresh out of the oven, "buntime" can very much still become a thing if the community enbraces it.
@mbk0mbk
@mbk0mbk 9 ай бұрын
It's a fun time when it's a buntime
@udoyoung1627
@udoyoung1627 9 ай бұрын
howz about 'no Hono' to indicate an anti-phalus-riding response to every shiny new dev tool !!!
@khangle6872
@khangle6872 9 ай бұрын
Prepare for employer everywhere to put a 5 years Bun experience in their hire requirements
@genjii931
@genjii931 9 ай бұрын
I've been eating buns for over 50 years. No problem.
@animezia
@animezia 9 ай бұрын
@@genjii931 damn, you are ancient.
@_______3558
@_______3558 9 ай бұрын
​@@genjii931tch missed my chance 25 years late
@genjii931
@genjii931 9 ай бұрын
@@animezia I pre-date the Web. And the Internet.
@Infiniband11
@Infiniband11 9 ай бұрын
55 years chatgpt experience required
@icedlemontea9922
@icedlemontea9922 8 ай бұрын
4:21 is much more sad after hearing his mom passed away, tell your moms you love them guys ❤
@tomiikazi
@tomiikazi 9 ай бұрын
Amazing! With Bun I will be able to create my own javacript framework much faster!
@elixirfun
@elixirfun 9 ай бұрын
s/framework/frameworks
@arihantjainable
@arihantjainable 9 ай бұрын
lol
@jas0x139
@jas0x139 9 ай бұрын
While you were forming that sentence 50000000 more frameworks were created for Javascript.
@elixirfun
@elixirfun 9 ай бұрын
@@jas0x139 Not buying that. We need a benchmark of JS frameworks created in a second for given tech.
@seghirissam2662
@seghirissam2662 9 ай бұрын
Please no more framwork
@ofir6868
@ofir6868 9 ай бұрын
A truly inspirational video with an important message at the end.
@TheMercifulKnight
@TheMercifulKnight 9 ай бұрын
lest us all hugs our mums if we still have them ;'(
@rh41
@rh41 9 ай бұрын
Was not expecting that ending
@kevinong1555
@kevinong1555 9 ай бұрын
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"
@tunvas
@tunvas 8 ай бұрын
4:23 now I understand why he told us this. So sorry for your loss Jeff
@FinlayDaG33k
@FinlayDaG33k 9 ай бұрын
A few years down the road, the creator will start nub to fix the mistakes they made with bun.
@theSUBVERSIVE
@theSUBVERSIVE 9 ай бұрын
maybe if his name was ryan dahl
@none_the_less
@none_the_less 9 ай бұрын
And start another company, get VC money and continue business as usual. Continuously screwing the ecosystem. 👏👏👏
@hemantvetal
@hemantvetal 9 ай бұрын
name it as Nub
@nandoflorestan
@nandoflorestan 9 ай бұрын
yub nub
@faraznisar3752
@faraznisar3752 9 ай бұрын
No, it'll be unb
@DiglettsOtherHalf
@DiglettsOtherHalf 9 ай бұрын
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 ай бұрын
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 ай бұрын
@@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.
@ofir6868
@ofir6868 9 ай бұрын
Just when you think javascript engines have reached a peak in terms of efficiency, something like this pops up.
@ukaszzajac6704
@ukaszzajac6704 9 ай бұрын
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 ай бұрын
who ever thinks that?
@ram__z
@ram__z 9 ай бұрын
javascript
@ram__z
@ram__z 9 ай бұрын
?
@lbgstzockt8493
@lbgstzockt8493 9 ай бұрын
Never in my entire life have I thought of anything javascript as efficient.
@dragon_lion1738
@dragon_lion1738 8 ай бұрын
I'm sure your mom is happy up there. Take care dude, we really appreciate all the work you do for your community
@Eppeque
@Eppeque 8 ай бұрын
Wow the end hits different now. Stay strong man 🙏
@lilshake139
@lilshake139 8 ай бұрын
Oh my god the end hits so differently.....
@YuriG03042
@YuriG03042 8 ай бұрын
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.
@TheGerm24
@TheGerm24 9 ай бұрын
That last part about saying hi to your mom hit hard.
@MiniKodjo
@MiniKodjo 9 ай бұрын
Im not even web developper but now I wanna use bun for everything
@a-yon_n
@a-yon_n 9 ай бұрын
Except for gRPC since Bun 1.0 still doesn't support HTTP2
@driden1987
@driden1987 9 ай бұрын
Same here, I got some scripts using node that I want to migrate to Bun though
@IStMl
@IStMl 9 ай бұрын
Fireship's 100 seconds videos usually do that
@yt-sh
@yt-sh 9 ай бұрын
xD
@LLF1234
@LLF1234 9 ай бұрын
@@a-yon_n What is gRPC?
@volimsir
@volimsir 9 ай бұрын
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 ай бұрын
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
@Syncratci
@Syncratci 9 ай бұрын
Bruh, that "say hi to your mom" joke actually got me in my feels
@r1konTheAutomator
@r1konTheAutomator 9 ай бұрын
4:21 - didn't expect to be teary eyed at the end of this video. Just lost my mom recently 😔
@kozmikhero6749
@kozmikhero6749 9 ай бұрын
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 ай бұрын
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 ай бұрын
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 ай бұрын
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 ай бұрын
@@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.
@yajirushik2871
@yajirushik2871 9 ай бұрын
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.
@SiX-Feet
@SiX-Feet 9 ай бұрын
This has to be the most important code report this year
@ricardorien
@ricardorien 9 ай бұрын
YES!
@fieryscorpion
@fieryscorpion 9 ай бұрын
NO
@apfelbaum715
@apfelbaum715 9 ай бұрын
the duality of men
@WolfPhoenix0
@WolfPhoenix0 9 ай бұрын
Fireship is like that mad scientist you see in the movies. Always busy with one experiment after another. 😂
@thatsalot3577
@thatsalot3577 9 ай бұрын
I see him more as a drug dealer
@ScriptKiddy23
@ScriptKiddy23 9 ай бұрын
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 ай бұрын
🧪
@mdmusaibali7306
@mdmusaibali7306 9 ай бұрын
The only tech channel that makes me want to learn ❤.
@spaghettiking653
@spaghettiking653 9 ай бұрын
God damn, that ending tho...
@jackdavenport5011
@jackdavenport5011 8 ай бұрын
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.
@JohnEGledhill
@JohnEGledhill 9 ай бұрын
you killed it with this video! maybe one of these every few days, or a longer version every week?
@hundvd_7
@hundvd_7 9 ай бұрын
Being able to use just the bundler is probably its best feature I might actually be able to introduce it at my company then
@struggopuggo
@struggopuggo 9 ай бұрын
Very excited for Bun. The DX and new libraries look very handy.
@chrisaltec2992
@chrisaltec2992 9 ай бұрын
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.
@Weahl
@Weahl 9 ай бұрын
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
@John69
@John69 9 ай бұрын
Man I love this channel. The thing about saying hi to mom was great. Happy wknd everyone
@d4rkz3r011
@d4rkz3r011 9 ай бұрын
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!
@andredasilva6807
@andredasilva6807 9 ай бұрын
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
@ivanb493
@ivanb493 9 ай бұрын
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 ай бұрын
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 ай бұрын
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 ай бұрын
faster is better 🎉
@ivanb493
@ivanb493 9 ай бұрын
@@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.
@MelroyvandenBerg
@MelroyvandenBerg 9 ай бұрын
Love Bun already! Waiting on the alpine docker image with Bun. I will also check-out Hono!
@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
@patric_forreal
@patric_forreal 9 ай бұрын
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 👌
@shreym03
@shreym03 9 ай бұрын
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 ай бұрын
it's just a joke lol dont worry
@asatsuki9250
@asatsuki9250 9 ай бұрын
@@harveyhans how about you harvey, is everything okay with YOUR mom?
@jb200s
@jb200s 9 ай бұрын
​@@asatsuki9250but what about YOUR mom ?
@Cahnisama
@Cahnisama 9 ай бұрын
Sorry guys, everyone's moms are busy right now. I will let them know once I am done.
@shreym03
@shreym03 9 ай бұрын
@@harveyhans Couldn't hurt to ask, you know?
@MaJetiGizzle
@MaJetiGizzle 9 ай бұрын
Been messing with bun since the initial beta release. Happy to see it finally at 1.0!
@MMMS75
@MMMS75 9 ай бұрын
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.
@ThundaAaAaAaAaAh
@ThundaAaAaAaAaAh 8 ай бұрын
I never thought I would start crying after watching tech vid yet here I am, sorry for your loss Jeff
@patrickconrad396
@patrickconrad396 9 ай бұрын
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 ай бұрын
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 ай бұрын
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.
@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!
@larrytron1992
@larrytron1992 9 ай бұрын
I can’t wait to try it out. Been keeping my eye on Bun for a while
@chrisray9653
@chrisray9653 9 ай бұрын
Interesting to see Zig get a major project.
@arytiwa4351
@arytiwa4351 7 ай бұрын
You were hinting us about your mom at the end. Stay strong sir
@CalicoArchives
@CalicoArchives 9 ай бұрын
Holy Sh*t! Bun sounds amazing. I'll have to check it out. Thank you for sharing!
@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.
@DereC519
@DereC519 8 ай бұрын
4:19 rest in peace 😢
@GSBarlev
@GSBarlev 9 ай бұрын
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 ай бұрын
Checked the page to download, requires me to log in to download. Now I'm extremely skeptical too.
@ivanjermakov
@ivanjermakov 9 ай бұрын
It's not open-source and won't be in the near future.
@mattrs1
@mattrs1 9 ай бұрын
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 ай бұрын
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 ай бұрын
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.
@tobyzieglerrr
@tobyzieglerrr 9 ай бұрын
I dont like JS or TS... but i like what Bun is doing. Will play around with it. Thanks for sharing.
@namesare4fools
@namesare4fools 9 ай бұрын
its wholesome that Fireship keeps reminding us about to check out our Mom since the earlier videos
@madao4024
@madao4024 9 ай бұрын
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 ай бұрын
me too, been here before async/await and chromium
@hashaamkhan7684
@hashaamkhan7684 9 ай бұрын
Bro got me emotional at the end
@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.
@ahmadhabib4564
@ahmadhabib4564 8 ай бұрын
JUST READ YOUR "Hi Mom" post. Sad to hear this and i know she'll be in a great place ❤❤
@devonjon
@devonjon 9 ай бұрын
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 8 ай бұрын
Did you ask Bard or github about this issue? People at bun will probably love to fix this edge case.
@lahcencodery
@lahcencodery 9 ай бұрын
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 ай бұрын
Backend using any kind of JS is anything but not fun
@thecoolnewsguy
@thecoolnewsguy 9 ай бұрын
​@@raresandrei7205it's actually "anything but fun".
@NileGold
@NileGold 9 ай бұрын
that Poland sticker looks fire on that macbook 0:15
@shaneckel
@shaneckel 9 ай бұрын
This is actually pretty awesome. I really want to know how this feels for deployment and managing issues.
@chieftron
@chieftron 9 ай бұрын
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 ай бұрын
Welcome to JavaScript world, where people reinvent the wheel for no reason.
@randyt700
@randyt700 9 ай бұрын
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 ай бұрын
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 KZfaq world, where people repeat the comment for no reason.
@martinzen
@martinzen 9 ай бұрын
The mark of a senior dev: you grasp the code report's content despite of rofl'ing non-stop
@quetzalcoatl-pl
@quetzalcoatl-pl 9 ай бұрын
Meet bun, what a pun!
@plugpulled
@plugpulled 8 ай бұрын
The 'Hi Mom' part got me in tears. I had to go spend time with my mom. Thanks!
@_aurora60
@_aurora60 8 ай бұрын
Same
@codewithaus
@codewithaus 9 ай бұрын
Aww that photo of you and your mom is so cute! Love your moms guys
@ishanshishodiya8357
@ishanshishodiya8357 9 ай бұрын
In a few days we'd soon get another runtime environment that'd kill Bun...
@chris-hayes
@chris-hayes 9 ай бұрын
"Run" - Bun but written in the superior programming language, Rust.
@0jinx
@0jinx 9 ай бұрын
yay, killer buns !
@andreicalegari1837
@andreicalegari1837 9 ай бұрын
@@chris-hayes Rust already has Deno
@nanonkay5669
@nanonkay5669 9 ай бұрын
This one is hard to beat lol
@diadetediotedio6918
@diadetediotedio6918 9 ай бұрын
​@@andreicalegari1837 yes but Deno was made to be the next NodeJS, so we need Run to be the next Bun
@rakaboy1619
@rakaboy1619 9 ай бұрын
js community really benefits when some new tooling is introduced by people outside of js community
@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! 🎉
@blueice3124
@blueice3124 9 ай бұрын
I gotta try it for myself now, there has to be some drawbacks, but packaging all that seems convenient
@azaleacolburn
@azaleacolburn 9 ай бұрын
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.
@funkdefied1
@funkdefied1 9 ай бұрын
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
@oleksasirotinin1532
@oleksasirotinin1532 9 ай бұрын
first time tried to listen the report as a radio - much better - no visual trash + relatively interesting info.
@damonmedekmusic2015
@damonmedekmusic2015 9 ай бұрын
I installed it and built a sveltekit template with bun as the environment. Its pretty straightforward. I personally am not going to use it because I was hoping it would help some of my large projects spin up faster. It didn't. I'm sure for some server backend processing is maybe faster like builds and stuff. However, It just doesn't cut the cake for me.
@davidharmeyer3093
@davidharmeyer3093 9 ай бұрын
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 ай бұрын
@@kidmosey date and time api 🤢🤮
@Toleich
@Toleich 9 ай бұрын
Yea, but Bun's is better! /s
@JoySingh
@JoySingh 9 ай бұрын
@@Toleich js devs on their way to rewrite the entire computer to write a better framework
@wamy_
@wamy_ 9 ай бұрын
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.
@matsedv
@matsedv 9 ай бұрын
Good video production, good video content - goooood
@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.
@xeryan
@xeryan 9 ай бұрын
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 ай бұрын
The word "disruptive" gives me the ick.
@publicalias8172
@publicalias8172 9 ай бұрын
People who say "ick" give me the ick. Are you my 14 year old sister or an adult trying to fit in? Ick. @@heatrazer
@ReasonX3
@ReasonX3 9 ай бұрын
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.
@alexandrumih
@alexandrumih 9 ай бұрын
Looking forward too seeing how this will gain momentum.
@vanechka222
@vanechka222 9 ай бұрын
Whaaat those apis are amazing! Bun’s built in tooling is leaner than npm packages that do the same thing
@ug1131
@ug1131 9 ай бұрын
That's a lot of stuff that Bun can do sheesh🤪
@MarvinPowell1
@MarvinPowell1 9 ай бұрын
"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)
@giacomogagliano1526
@giacomogagliano1526 9 ай бұрын
insane, your sponsor of today is what I was browsing right now!! super funny!
@giacomogagliano1526
@giacomogagliano1526 9 ай бұрын
I mean was browsing for!
@nromancarcamo
@nromancarcamo 9 ай бұрын
Love this! I will give it a try 😅
@4.0.4
@4.0.4 9 ай бұрын
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)
@user-nl8cd4qq2m
@user-nl8cd4qq2m 9 ай бұрын
The ending...😭
@7heMech
@7heMech 9 ай бұрын
Was waiting for this video
@liviudanielvasilescu5160
@liviudanielvasilescu5160 9 ай бұрын
“magical works” phahhaha good one . Good video keep it up 😊
@madhououinkyoma
@madhououinkyoma 9 ай бұрын
Ahh.. the world of JavaScript. Always expect the unexpected.
@IStMl
@IStMl 9 ай бұрын
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
@erayagdogan3389
@erayagdogan3389 9 ай бұрын
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 ай бұрын
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.
@leulwebshet9750
@leulwebshet9750 9 ай бұрын
Great Vedio as usual, Am checking DevGpt
@basedovi
@basedovi 7 ай бұрын
Alright Fireship, you got me hooked on yet another JavaScript creation!
@keremardicli4013
@keremardicli4013 9 ай бұрын
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 ай бұрын
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 ай бұрын
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
@Android480
@Android480 9 ай бұрын
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 ай бұрын
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 ай бұрын
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.
@chyldstudios
@chyldstudios 9 ай бұрын
Wow, did not know that about Bun! Downloading now ...
@4idenn
@4idenn 9 ай бұрын
Wow, this might finally make me want to do JS
@knsense
@knsense 7 ай бұрын
4:23
@NotGarbageLoops
@NotGarbageLoops 9 ай бұрын
At version 0.6 already Bun was outspeeding C++ code I'd written for astronomical processing. Good to see it going strong. Can't wait for their client websocket lib to become production ready Edit because KZfaq thinks anything not related to twerking is spam: I was working with GAIA DR3 astronomical data. Each GAIA DR3 CSV file is around 200MB compressed, and around 650MB uncompressed. Each file contains around 500,000 lines, each line has more than 150 columns, I forget the exact numbers, but it's... well... astronomically large. There's around 3100 of those files, and I needed 5 columns from each file for further processing. The idea was this: extract the CSV into RAM (not disk), then retrieve specific columns based on query parameters. Bun took around 5 seconds per file, C++ around 8 seconds per file, and Node took around 19 seconds per file. The differences may seem small, but it really builds up with so many files, especially if you need to query more data later on. Now, to be fair, the JS wasn't written naively - I used ArrayBuffer objects so that I could treat each line as an array of numbers rather than a string, which is technically cheating because ArrayBuffer objects are almost native C++ anyway. But still, the fact that Bun won at all blew my mind.
@masterchief1520
@masterchief1520 9 ай бұрын
💀
@kleonardo52
@kleonardo52 9 ай бұрын
Just curious, what kind of code were you writing in C++ that would be slower than js?
@NotGarbageLoops
@NotGarbageLoops 9 ай бұрын
​@@kleonardo52 I was working with GAIA DR3 astronomical data. Each GAIA DR3 CSV file is around 200MB compressed, and around 650MB uncompressed. Each file contains around 500,000 lines, each line has more than 150 columns, I forget the exact numbers, but it's... well... astronomically large. There's around 3100 of those files, and I needed 5 columns from each file for further processing. The idea was this: extract the CSV into RAM (not disk), then retrieve specific columns based on query parameters. Bun took around 5 seconds per file, C++ around 8 seconds per file, and Node took around 19 seconds per file. That may seem small, but it really builds up with so many files, especially if you need to query more data later on. Now, to be fair, the JS wasn't written naively - I used ArrayBuffer objects so that I could treat each line as an array of numbers rather than a string, which is technically cheating because ArrayBuffer objects are almost native C++ anyway. But still, the fact that Bun won at all blew my mind.
@NotGarbageLoops
@NotGarbageLoops 9 ай бұрын
​@@kleonardo52 KZfaq thinks my reply is spam... unsure how to answer you
@NotGarbageLoops
@NotGarbageLoops 9 ай бұрын
@@kleonardo52 I've edited the original comment
9 ай бұрын
Sounds great, will have a try 👍🏻
100+ JavaScript Concepts you Need to Know
12:24
Fireship
Рет қаралды 1,9 МЛН
Reacting to Controversial Opinions of Software Engineers
9:18
Fireship
Рет қаралды 2 МЛН
The Noodle Picture Secret 😱 #shorts
00:35
Mr DegrEE
Рет қаралды 29 МЛН
Is it Cake or Fake ? 🍰
00:53
A4
Рет қаралды 18 МЛН
The day of the sea 🌊 🤣❤️ #demariki
00:22
Demariki
Рет қаралды 51 МЛН
10 Things I LIKE About BUN JS
9:33
Travis Media
Рет қаралды 8 М.
Bun 1.0 Release | Prime Reacts
17:36
ThePrimeTime
Рет қаралды 202 М.
Why I Ditched VSCode for Webstrom @JetBrainsTV
3:21
Dev Panda
Рет қаралды 2,6 М.
DO NOT USE BUN (bun install is good dough)
17:54
strager
Рет қаралды 139 М.
how to never write bug
7:20
Fireship
Рет қаралды 836 М.
I built a JavaScript framework
10:11
Fireship
Рет қаралды 485 М.
Go vs Rust vs Bun vs Node | Prime Reacts
18:07
ThePrimeTime
Рет қаралды 160 М.
Interview with an Emacs Enthusiast in 2023 [Colorized]
8:50
Programmers are also human
Рет қаралды 1,1 МЛН
Never install locally
5:45
Coderized
Рет қаралды 1,6 МЛН
JavaScript: How It's Made
10:54
Fireship
Рет қаралды 869 М.
📦Он вам не медведь! Обзор FlyingBear S1
18:26
wireless switch without wires part 6
0:49
DailyTech
Рет қаралды 4,7 МЛН
AI от Apple - ОБЪЯСНЯЕМ
24:19
Droider
Рет қаралды 126 М.