Bun vs Node.js - Everything You Need To Know!
HTML-код
- Опубликовано: 31 май 2024
- 📘 Courses - learn.codevolution.dev/
💖 Support UPI - support.codevolution.dev/
💖 Support Paypal - www.paypal.me/Codevolution
💾 Github - github.com/gopinav
📱 Follow Codevolution
+ Twitter - / codevolutionweb
+ Facebook - / codevolutionweb
📫 Business - codevolution.business@gmail.com
Bun vs Node.js - Everything you need to know!
Explore the buzz around Bun, a new JavaScript runtime challenging Node.js in the ecosystem. Dive deep into benchmarks comparing Bun with Node.js, understand the nuances of V8 vs JavaScriptCore, and see how it streamlines the frontend and backend development process. From its efficient package manager that rivals npm, to its bundler compatible with React and Next.js, Bun offers a drop-in replacement with enhanced compatibility. Learn about its open-source nature, the role of Zig in its architecture, and how it integrates with Web APIs, all while ensuring faster startup times and efficient memory usage. Join me, as we navigate this evolution in the JavaScript world, touching upon its CLI, modules, transpiler, and more. Special mention to Jarred Sumner, the mind behind Bun. Let's decode the future of web applications!
00:00 Intro
00:23 What is Bun
00:50 Why Bun
01:22 Deno
02:00 Project Setup
03:15 1.JavaScript Runtime
03:50 1.1 JavaScript Engine
04:40 1.2 Transpiler
07:01 1.3 CommonJS & ESM
10:28 1.4 Web APIs
12:04 1.5 Hot Reloading
13:51 1.6 Nodejs Compatibility
16:31 2. Package Manager
18:08 3. Bundler
20:35 4. Test Runner
This was the most thorough and in-depth node/bun comparison I've see so far. Good job!
This was exactly what I was looking for, thank you for making this video!
Thanks for the work it’s good. I’m scanning a lot of bun videos it’s well done, regardless we need people building in depth projects not simple console tests. We need to see it in a full project.
what an awesome teacher you are!🥳🥳🎉🎉
I've seen some of the data structure course videos, and this depth video is also great!
Wonderful video on comparing Bun and Node. Thank you for your time and have good health.
Right now it's not in a usable state, I tried it and had all kinds of issues with Npm packages, like Fastify and Sequelize both gave major errors when using bun.
That said, if anything will replace Node, this is it, and I'm sure it will eventually, it's just not there yet since not all of the Node APIs are implemented in Bun.
We need nextJs 13 course
Waiting for a little more stability with Server actions
Just learn the older course and view any video about next 13.4. You not need a new course. That's how I did it.
@@Codevolutionmake backend courses... RUclips has few backend courses
Nextjs doc is very easy to read
This is incredible! The tech you covered was good too 😂
Very detailed comparison Vishwas💌
Very educative also about contents beyond the Node/Bun comparison... Please, let us know when Bum support NextJS then I'll migrate to it.
Great informations, so we can understand it deeply about the features of Bun
This is so helpfu, thanks for sharing
Is there a specific vs code plugin you are using to make the cursor blink when you are editing the code?
Thanks man for the video
Thnak you for the amazing video
nice video - thank you!
Thank you.
Bun looks like a big thing. Would be nice if you can upload a video on how to connect to databases such as MySQL, Postgres, MongoDB, etc. and make a blazing fast full stack website or rest Api.
Bun still in development and not ready for prod
But remember. Bun is practically developed by just one developer in a very exotic programming language, which hardly anyone knows.
Node, on the other hand, has hundreds of contributors and the loss of one developer does not immediately lead to the collapse of the entire project.
I wonder how its performance compares to other backend languages, such as Go and Rust?
Since the performance advantages happen when starting the project and not when running it, it's not as compelling as I thought it would be. Basically it's nice if starting a new project, but if I already have a Node project then it's not worth migrating over to Bun.
How to work with large code base with more resusabale components which should be responsive as well we need videos on this topic
I was about to start the Node.js Tutorial on this channel. I wonder if I can use bun and use all the same code???
Thanks for another great video! 😀
yes, i believe bun supports all node api's
Man you're great
writing desktop apps with bun, how far?
Bro when are you going to release express course
Vishwash is really the godfather of explaining things.
nice video
How to use bun js in react native
Waiting for the NodeJS response to Bun.
Hi, may I ask if bun is needed for nextjs?
You can use Bun as a package manager with Node.js :)
I want windows version!! 😮
Hello, which vs code theme you are using?
Most probably Nord Native or other versions of the nord theme
@@priyankishore thank you bro!
Hey vishwas , what happened to react native course
Is it stopped now ??
No, I will continue in a while again :)
@@Codevolution please continue with bun
The question is how long before Bun is widely known and adopted?
bun playlist more incoming??
Lets wait until bun covers all basic functionality, then lets talk about performance. 🎭
Only when they replace JSC with V8 Bun will be ready for production
zig not release v 1.0 but Bun has :))
😊😊
Next.js 13 crash course
Bun will take another 10 years to reach at the levels of Node js.
javascript and its ecosystem is so trash, no matter what bs framwork there is
Bun is not something extraordinary. Even a major version upgrade to the node can do the things.
Sucks, Bun is great, but it's still not production ready on all platforms.
Most speed wins for bun are packages? Then some parts still require Node.js ? No one has a whole tutorial? Except speed test on packages? We’re watching…so where are the Tutorials outside of packages. Most bun video echo the speed tests on the bun website. When will someone make tutorials on a full project.
2nd
Feels like there is a catch to it, but there isn't.
First
3rd
Using the traffic congestion analogy, this would mean Bun is extremely inefficient and slow which is completely inaccurate. Please be careful making analogies like these. You don't solve the problem of traffic congestion by demolishing buildings for more highways and parking lots. Los Angeles California and Austin Texas have one of the largest most advanced highway systems in the world and they are completely congested with cars every single day.
4th
No real windows support.