BunJS Runtime in 100 seconds

preview_player
Показать описание
Bun is a new javascript runtime that is super fast and makes development a whole lot easier.

Oh so you still use nodejs? Well say hello to bun, a javascript runtime thats 3 times faster than node. Dont believe me? Just take a look at these benchmarks you won’t believe your eyes. You may ask how is this possible? Well, under the hood bun uses a language called Zig, which allows lots of low level control and optimization.

Bun also has a lot of nice features, which will make your life a lot easier. For exampleSomething i’ve missed on other runtimes, like deno, is the package manager. I dont know about you, but I love using npm. There’s a package for anything you could possibly ask for..

So you wan’t to know the meaning of life? Well there’s a package for that! Need to check if a number is equal to 10,000? Don’t fret, there’s a package for that too! I think you get the point.

Anyways, the cool thing about bun is that it comes with a built in way to install packages, packages that are even on npm! And according to the website, it even works 20x faster, which is pretty amazing.

If you’ve watched my previous video, you know that I recently switched to typescript. One of my biggest annoyances with typescript is the extra step, transpiling. It’s annoying and I wish it was easier.

Well guess what, bun auto transpiles everything, including typescript and jsx, which is one less thing to worry about.

To get started with bun, just copy and paste this into your terminal, and bam you now have access to all of buns features including a built in test runner that’s 40% faster than what it takes jest to print it’s version number.

Anyways, thanks for watching, like subscribe and comment to help with the algorithm, and i’ll see you in the next one.
Рекомендации по теме
Комментарии
Автор

Hey bro you are really skilled I'm just stunned

Tae태-yu
Автор

Holy shit bunJS is so much faster then me trying to read node modules

Devel_pers
Автор

Really curious about some benchmarks besides the ones they have. This is interesting. I wonder if you can mix TS and js.

_nom_
Автор

Sabes cuánto estará listo para usarse en producción?

luiggymacias
Автор

No one likes copy pls update your title

arytiwa