What are my thoughts on Bun?

  Рет қаралды 28,855

Web Dev Cody

Web Dev Cody

Күн бұрын

Chapters generated using ytchaptersgenerator.com
----------
00:00 - Introduction to Bun 1.0
00:18 - Bun's use of JavaScriptCore for faster performance
01:01 - Simplifying the JavaScript ecosystem with Bun
01:36 - Improved testing and faster CI/CD with Bun
01:24 - Limitations of Bun for certain frameworks
03:34 - Running Bun on AWS Lambda with Docker
04:10 - Built-in modules and utilities in Bun
04:36 - Overall thoughts on Bun
06:17 - Trying out the Alicia JS framework with Bun
06:53 - Comparing Bun's fast reloading with Nodemon
08:42 - Faster installation times with Bun in CI/CD pipelines
09:38 - Conclusion and future prospects of Bun
📘 T3 Stack Tutorial: 1017897100294.gumroad.com/l/j...
🤖 SaaS I'm Building: www.icongeneratorai.com/
✂️ Background Cutter: www.backgroundcutter.com/
💬 Discord: / discord
🔔 Newsletter: newsletter.webdevcody.com/
📁 GitHub: github.com/webdevcody
📺 Twitch: / webdevcody
🤖 Website: webdevcody.com
🐦 Twitter: / webdevcody

Пікірлер: 97
@danyacoding
@danyacoding 9 ай бұрын
Looking spiffy with the mustache, sir
@PraiseYeezus
@PraiseYeezus 9 ай бұрын
he definitely looks like a senior dev now, lol
@null_spacex
@null_spacex 9 ай бұрын
Kinda like a pirate 🦜
@vsuperbhat
@vsuperbhat 9 ай бұрын
​@@PraiseYeezusMore like Señor Dev 😁
@ayushgogna9732
@ayushgogna9732 9 ай бұрын
I think Web Dev is in its golden era so much stuff is changing ever thing is in a competition every product is fighting to be the best its amazing but at the same time confusing for new developers but it is fine
@neociber24
@neociber24 9 ай бұрын
Although people meme about JS Frameworks coming out each week, I think that's signal of a good ecosystem, where people try to make changes or improve things
@smile5281
@smile5281 9 ай бұрын
I’m sticking to node for now😊
@MrEnsiferum77
@MrEnsiferum77 9 ай бұрын
it's crap, because casual developers don't need bun, because they build crap apps for crap clients and because crap developers, don't know too much about scalability, performance improvments etc... they jumpwagon on every new tool like it helping building their software... actually u need DDD and strong core, everything else will come into place if u know what are u doing...
@ayushgogna9732
@ayushgogna9732 9 ай бұрын
everyone have a choice to choose whatever they like no one is forcing every tool has some pros and cons.@@MrEnsiferum77
@minnow1337
@minnow1337 9 ай бұрын
@@MrEnsiferum77are you making an argument or are you mad at the world
@SeibertSwirl
@SeibertSwirl 9 ай бұрын
You’re doing great babe ❤
@WonkiestNebula
@WonkiestNebula 9 ай бұрын
it's worth doing the install times with caches in place, bun has been a lot faster in my testing. bun is messing up typescript types for my front end react app at my job, so it's definitely not production ready for me, but it is very exciting!
@martiananomaly
@martiananomaly 9 ай бұрын
I love the moustache trio - You, primeagen and Theo!
@unusedTV
@unusedTV 9 ай бұрын
I notice that whenever something takes longer than +-20 seconds, I won't sit around and wait but instead read something, grab a coffee, or do something else. So then suddenly the downtime increases even further.
@rotivanov
@rotivanov 9 ай бұрын
Looking good with the mou dude! You are looking like my aussie mates haha
@SabarMohamed
@SabarMohamed 9 ай бұрын
That's a nice look you have today Cody ❤
@blackpurple9163
@blackpurple9163 9 ай бұрын
I'll wait for your video where you make something full fledged using bun for everything from running to testing to whatever it does
@SixtiesFan87
@SixtiesFan87 9 ай бұрын
Employers want you to have 5 years of experience with it
@juanmacias5922
@juanmacias5922 9 ай бұрын
I'm looooooving Bun! :D
@_V__.
@_V__. 9 ай бұрын
Cool! Also, hadn’t come across the time command before!
@pedroserapio8075
@pedroserapio8075 9 ай бұрын
Little bit tricky to set it on Windows, the Windows executable is limited so I need run inside WSL, not horrible, just not very convenient. Tried to create a React app, not very lucky but created one with the standard Vite, then installed all the dependencies and run with Bun, it is really fast. Super excited but same time I will wait little bit more before putting it in production.
@race_
@race_ 9 ай бұрын
I would love to see how you would use it as a bundled.
@oscarljimenez5717
@oscarljimenez5717 9 ай бұрын
Nice mustache sir, you look amazing.
@yuhanna_kapali
@yuhanna_kapali 9 ай бұрын
Looks like you got promoted to senior developer 😂😂
@WebDevCody
@WebDevCody 9 ай бұрын
is the mustache the tell tale sign of a senior dev?
@yuhanna_kapali
@yuhanna_kapali 9 ай бұрын
@WebDevCody yes it is, and it looks great at you
@Michael-Martell
@Michael-Martell 9 ай бұрын
I tried it as a package manager, it was pretty frickin fast and easy to use. I couldn’t figure out the basic install of next.JS, but because it requires npx it wouldn’t install in my experience but good chance I just didn’t figure it out. I deleted node modules though and reinstalled with bun and was super quick. Dependency installs were practically instant.
@codinginflow
@codinginflow 9 ай бұрын
Bruh I didn't know Guy Fawkes makes KZbin videos now!
@WebDevCody
@WebDevCody 9 ай бұрын
😂
@philheathslegalteam
@philheathslegalteam 9 ай бұрын
Common misconception about JSC. The Bun team is to blame here for misinforming in their early blogposts. JSC is not faster than V8. What makes Bun fast is their custom native implementation of JS & Node apis. Most their APIs use less memory than Node. The big reason for going with JSC is that they’re able to just import WebKit api’s directly out of Safari. Which I’m guessing is the reason they’ve been able to move this fast with features. Even the debugger UI is literally ripped out of Safari devtools which is great and time saving.
@WebDevCody
@WebDevCody 9 ай бұрын
Good info! Yeah, I remember hearing JSC was a reason it was faster, but I didn’t research too hard before making this video
@philheathslegalteam
@philheathslegalteam 9 ай бұрын
@@WebDevCody it’s technically a reason. It’s faster when it comes to startup speeds, so those fast bun commands are in part due to JSC, but the long running tasks like install or actually running JS itself are a product of good engineering not the engine.
@benheidemann3836
@benheidemann3836 9 ай бұрын
According to the state of JS 2022 results, 8.5% use Deno regularly vs 70.9% for Node. People are using it but as with any tool, it will take time to see adoption. Especially given how much software has already been built on node.
@rand0mtv660
@rand0mtv660 9 ай бұрын
Bun apparently has a better Node -> Bun migration story out of the box. Bun supports many Node APIs so in theory many Node apps should be able to run in Bun runtime. I think the problem with Deno is that they took a totally different approach from the beginning by being something totally separate so it's hard to justify actually using it and migrating to it. Now in the last year or so they totally backtracked that idea and went full in with Node/npm support probably because they realized that they won't win so many people over if people cannot use the existing NPM ecosystem. At least that's my theory.
@thomasreese5000
@thomasreese5000 9 ай бұрын
Bun re-ignited my passion for software development. Not to be that guy, it did make things fun again.
@akam9919
@akam9919 9 ай бұрын
Once bun has full coverage for all the node-apis, I'll consider looking at it. Node is just too entrenched that switching to something like bun which only has partial coverage, just isn't worth it. That said, it is exciting to watch from afar. I really want bun to succeed...but it isn't quite there yet.
@aka.theos.
@aka.theos. 9 ай бұрын
Saying increase performance a little is an understatement honestly
@Jongo1
@Jongo1 9 ай бұрын
I honestly thought Bun was a joke/meme until I saw this video!
@DamonMedekMusic
@DamonMedekMusic 9 ай бұрын
I have a large SvelteKit project and I was testing to see if my local server would spin up faster with bun compared to node. I didn't notice much difference. 😢
@justine_chang39
@justine_chang39 9 ай бұрын
one thing to keep in mind is if you have an existing package-lock.json in the folder, Bun will not respect it when you do bun install, it will behave like npm install instead of npm ci.
@benotisanchez5583
@benotisanchez5583 9 ай бұрын
Already been messing with it for a few days now. I like what I'm seeing so far, but it's not fully backwards compatible, maybe 90%
@noext7001
@noext7001 9 ай бұрын
tried with my current nextjs 13 project, see no difference at all vs pnpm build time
@SR-zi1pw
@SR-zi1pw 9 ай бұрын
You look good 👍
@Vantivify
@Vantivify 9 ай бұрын
What are u using to show available Commands in terminal?? At 8:18
@magnuserikkeenrobot1117
@magnuserikkeenrobot1117 9 ай бұрын
who are you and what did you do to @Web Dev Cody? hehe just joking, looks cool with the stache
@cslearn3044
@cslearn3044 9 ай бұрын
It looks great but I wonder if I can make backend with elysia and frontend to be next js, would there be any issues or performance losses? Using windows btw
@WebDevCody
@WebDevCody 9 ай бұрын
That would be fine I think
@cslearn3044
@cslearn3044 9 ай бұрын
@@WebDevCody Will try, will you ever try to do that and post a video about it?
@devkobie
@devkobie 9 ай бұрын
@@cslearn3044 I think bun isn't fully available on windows yet so you would have to use wsl
@mertturkmenoglu99
@mertturkmenoglu99 9 ай бұрын
Currently Bun is in beta for Windows systems. Majority of the features are even disabled, you can only install dependencies.
@juanmacias5922
@juanmacias5922 9 ай бұрын
@@mertturkmenoglu99I believe WSL is an option on Windows.
@user-eg4qz9yc7e
@user-eg4qz9yc7e 9 ай бұрын
svelte kit has a bun adapter
@abhinav.sharma
@abhinav.sharma 9 ай бұрын
Cody turning into primagen
@WebDevCody
@WebDevCody 9 ай бұрын
I just need a yoga ball and a personality
@SoreBrain
@SoreBrain 9 ай бұрын
​@@WebDevCodyyou have the humor
@henrybenedict6357
@henrybenedict6357 9 ай бұрын
I wonder Why bun using js core insted of using spider monkey 🤔
@SRG-Learn-Code
@SRG-Learn-Code 9 ай бұрын
Yesterday I did a clean installation of sveltekit both with bun and pnpm. Bun is two times faster, not 17 times faster. Is marketing and benchmarks bullshit or I'm doing something wrong? I'm using WSL. Has anybody else seen results like this?
@mormantu8561
@mormantu8561 9 ай бұрын
I mean, those are marketing numbers on Bun's website. They are probably cherry picked and/or not representative of a real project. It's more of a synthetic benchmark I think.
@SRG-Learn-Code
@SRG-Learn-Code 9 ай бұрын
@@mormantu8561 So is bullshit then, why lie so blatantly when the real result are still good? Kind of sus, I'm going to pass on this one.
@ilearncode7365
@ilearncode7365 9 ай бұрын
So it just makes DX faster, not the website code itself, since it will run in chrome in mlst cases
@WebDevCody
@WebDevCody 9 ай бұрын
Well bun is a runtime, so it’ll make faster servers. Right now some people write their api using node, but bun is a lot faster (so they say)
@oscarljimenez5717
@oscarljimenez5717 9 ай бұрын
But it can also make JS faster in the server, so every framework will benefit. Right now exist some new Bun frameworks that can compete vs Rust and Go frameworks in performance
@Trav164
@Trav164 9 ай бұрын
What is this vscode theme?
@bogdanfilimon2486
@bogdanfilimon2486 9 ай бұрын
+1
@suchakbarik2180
@suchakbarik2180 9 ай бұрын
+1
@Chat_De_Ratatoing
@Chat_De_Ratatoing 8 ай бұрын
hi what's the vscode theme
@vishaldinesh
@vishaldinesh 9 ай бұрын
Can someone tell me what he is using to highlight stuff using his mouse?
@WebDevCody
@WebDevCody 9 ай бұрын
That’s the mac screenshot tool
@vishaldinesh
@vishaldinesh 9 ай бұрын
Oh okay thanks
@MasayaShida
@MasayaShida 9 ай бұрын
Why is Javascript core so much faster
@caresbruh
@caresbruh 9 ай бұрын
sorry to say but it is still not production ready
@JLarky
@JLarky 9 ай бұрын
Keep in mind that "bun dev" might still be running node, so use "bun --bun dev" just to be sure :-)
@WebDevCody
@WebDevCody 9 ай бұрын
Is this a joke or are you for real?
@JLarky
@JLarky 9 ай бұрын
@@WebDevCody that's very real :)
@joaopedrovoga5497
@joaopedrovoga5497 9 ай бұрын
I don't know wh6 but bun bun dev just souns so funny to me 😂.
@mike110111
@mike110111 9 ай бұрын
What do you think about deno?
@WebDevCody
@WebDevCody 9 ай бұрын
Never used it, so I don’t have much of an opinion. I didn’t see too much of a benefit over node so I never cared to learn
@mike110111
@mike110111 9 ай бұрын
@@WebDevCody I'm interested mainly because of deno deploy
@feelsthevibes1662
@feelsthevibes1662 9 ай бұрын
Theme ?
@WebDevCody
@WebDevCody 9 ай бұрын
Bearded theme
@harunalrd
@harunalrd 9 ай бұрын
First?
WinterJS -  A New Javascript Runtime
27:06
ThePrimeTime
Рет қаралды 177 М.
Why I'll always use Typescript over Javascript
18:17
Web Dev Cody
Рет қаралды 16 М.
Alat Seru Penolong untuk Mimpi Indah Bayi!
00:31
Let's GLOW! Indonesian
Рет қаралды 9 МЛН
I CAN’T BELIEVE I LOST 😱
00:46
Topper Guild
Рет қаралды 57 МЛН
Wait for the last one! 👀
00:28
Josh Horton
Рет қаралды 113 МЛН
Неприятная Встреча На Мосту - Полярная звезда #shorts
00:59
Полярная звезда - Kuzey Yıldızı
Рет қаралды 7 МЛН
How do I like to do freelance work?
13:45
Web Dev Cody
Рет қаралды 23 М.
SFNode Meetup: Bun with Jarred Sumner
22:41
SFNode
Рет қаралды 20 М.
How to Organize Your Solo Dev Project Like a Pro
7:42
CreaDev Labs
Рет қаралды 17 М.
DO NOT USE BUN (bun install is good dough)
17:54
strager
Рет қаралды 139 М.
the most important Next.js features to learn (in 8 minutes)
8:26
Web Dev Cody
Рет қаралды 19 М.
Agile doesn't suck, you're just bad at it
19:26
Web Dev Cody
Рет қаралды 7 М.
Why I'd never host my apps on a VPS
13:43
Web Dev Cody
Рет қаралды 30 М.
Vapor: The Future Of Vue
21:27
Theo - t3․gg
Рет қаралды 111 М.
Go vs Rust vs Bun vs Node | Prime Reacts
18:07
ThePrimeTime
Рет қаралды 161 М.
Alat Seru Penolong untuk Mimpi Indah Bayi!
00:31
Let's GLOW! Indonesian
Рет қаралды 9 МЛН