Bun Is Better Than I Hoped

preview_player
Показать описание
I...yeah. Wow. Great work to the Bun team. I am so impressed.

S/O Ph4seOne for the awesome edit 🙏
Рекомендации по теме
Комментарии
Автор

If you're worried about disk space on Mac OS you could run a script that deletes node_modules for projects you've not used in a while. When Bun is so much faster it's not a big deal to reinstall that project you didn't work on for a week anyway.

ZakiWasik-qu
Автор

I was ignoring Bun, but after this release it actually looks pretty impressive. They may have a new convert.

chyldstudios
Автор

All the performance benefits are great, but if it frees us from esm/cjs hell, that could be the most compelling feature.

WillViles
Автор

Actually, bun shouldn’t use more disk space than pnpm on macOS. On APFS, clonefile is “copy-on-write” but otherwise acts like link. As long as you don’t modify node_modules content, it’s same disk usage as pnpm.

JonasLekevicius
Автор

The ability to run both cjs and esm at the same time is a major selling point to me. In big ecosystems, this can be surprisingly painful.

Archheretc
Автор

This is one of those videos that come once in a thousand years where I agree with Theo

avid
Автор

Bun even can compile to an single executable (+ you can embed files into it which is insane). This is going to improve my deployment to customer servers so much

Nikik
Автор

What an eye opener how much CPU time we waste all the time.

I chuckled when you said "it's sad to see", no, ITS AWESOME, it was 24x faster than the fastest solution we had so far :D What a time to be alive

SzaboB
Автор

Let's go !
Love seeing this focus on performance and usability.

e
Автор

The cached installation wth Bun was so fast that I perceived is as an exception was thrown, my experience has been like: "If the logging finishes too fast it's because something went wrong"

napapt
Автор

I have replaced Pnpm with Bun completely in the last few months and it completely transformed how I develop.

Slink
Автор

Bun looks so good, the moment it's a bit more stable for Windows I'm moving over to it. While the speed improvements are nice, the biggest thing for me is being able to just write Typescript and have it work without having to fight with configs.

I'm hoping after their core is more stable they'll also take a look into improving the linting world of Javascript

RhysSullivan
Автор

I bought into bun wholesale from the beginning, and following its progress has been amazing. My workflow has gotten so much faster.

UliTroyo
Автор

Release of the year, great work by the Bun team.

danielkakai-bwtc
Автор

Finally some real innovation in this field. Super hyped for Bun.

wlockuz
Автор

8:10 Under "Installation strategies": you can use the --backend flag to specify how to "copy" into node_modules, and force hardlinks even on macOS. But clonefile is copy-on-write, so it isn't really needed.

athepeanut
Автор

Man!! That last part amazed me 😮 . Hopefully deployment tools start supporting Bun, that’s usually one of the main blockers for organizations that have a lot of restrictions in their tools and tech stack

codesandtags
Автор

I've tried bun on some projects a while ago and it was missing a lot of stuff that I needed. Nowadays it seems it got everything I should need, so I'm thinking of giving it a try again.

caiopeluti
Автор

8:45 isn't macos' `clonefile` behave like Linux btrfs `cp --reflink` ? So it doesn't really takes a space thanks to CoW (unless you're changing one of the copies)

wdnick
Автор

I've followed you for at least the last two years!

You've become so mature, and I'm glad to say I respect you a lot for it!

dirty-kebab