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
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
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...
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.
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!
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 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.
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.
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.
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.
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.
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.
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. 😢
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.
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?
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.
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
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
Looking spiffy with the mustache, sir
he definitely looks like a senior dev now, lol
Kinda like a pirate 🦜
@@PraiseYeezusMore like Señor Dev 😁
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
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
I’m sticking to node for now😊
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...
everyone have a choice to choose whatever they like no one is forcing every tool has some pros and cons.@@MrEnsiferum77
@@MrEnsiferum77are you making an argument or are you mad at the world
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.
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!
I'll wait for your video where you make something full fledged using bun for everything from running to testing to whatever it does
You’re doing great babe ❤
I love the moustache trio - You, primeagen and Theo!
Employers want you to have 5 years of experience with it
Looks like you got promoted to senior developer 😂😂
is the mustache the tell tale sign of a senior dev?
@WebDevCody yes it is, and it looks great at you
That's a nice look you have today Cody ❤
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.
Good info! Yeah, I remember hearing JSC was a reason it was faster, but I didn’t research too hard before making this video
@@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.
Bruh I didn't know Guy Fawkes makes TH-cam videos now!
😂
Nice mustache sir, you look amazing.
Looking good with the mou dude! You are looking like my aussie mates haha
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.
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.
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.
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.
I honestly thought Bun was a joke/meme until I saw this video!
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.
Cool! Also, hadn’t come across the time command before!
Bun re-ignited my passion for software development. Not to be that guy, it did make things fun again.
Saying increase performance a little is an understatement honestly
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. 😢
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.
I'm looooooving Bun! :D
I would love to see how you would use it as a bundled.
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%
tried with my current nextjs 13 project, see no difference at all vs pnpm build time
hi what's the vscode theme
sorry to say but it is still not production ready
I wonder Why bun using js core insted of using spider monkey 🤔
svelte kit has a bun adapter
What is this vscode theme?
+1
+1
Cody turning into primagen
I just need a yoga ball and a personality
@@WebDevCodyyou have the humor
who are you and what did you do to @Web Dev Cody? hehe just joking, looks cool with the stache
What are u using to show available Commands in terminal?? At 8:18
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?
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.
@@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.
So it just makes DX faster, not the website code itself, since it will run in chrome in mlst cases
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)
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
You look good 👍
Why is Javascript core so much faster
Theme ?
Bearded theme
Can someone tell me what he is using to highlight stuff using his mouse?
That’s the mac screenshot tool
Oh okay thanks
What do you think about deno?
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
@@WebDevCody I'm interested mainly because of deno deploy
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
That would be fine I think
@@WebDevCody Will try, will you ever try to do that and post a video about it?
@@cslearn3044 I think bun isn't fully available on windows yet so you would have to use wsl
Currently Bun is in beta for Windows systems. Majority of the features are even disabled, you can only install dependencies.
@@mertturkmenoglu99I believe WSL is an option on Windows.
Keep in mind that "bun dev" might still be running node, so use "bun --bun dev" just to be sure :-)
Is this a joke or are you for real?
@@WebDevCody that's very real :)
I don't know wh6 but bun bun dev just souns so funny to me 😂.
First?