100
submitted 1 year ago* (last edited 1 year ago) by MonkCanatella@sh.itjust.works to c/programming@programming.dev

Piped

Great watch but to summarize:

  • Bun beats Node/Yarn for package installation

  • Somewhat better API/DX in some ways.

  • Loses poorly in testing performance

  • Tons of incompatibility issues/performance issues in other areas.

General summary: Just don't use Bun yet, seems like it needs some more time in the oven.

you are viewing a single comment's thread
view the rest of the comments
[-] WalkableProgrammer@lemmy.world 11 points 1 year ago

I guess I don’t understand this obsession with speed? I work in development but I have never ran into a build that’s so slow that it impacts my work. Why is Node considered so bad that everyone wants to make is faster?

[-] snowe@programming.dev 12 points 1 year ago

You’ve never had an issue with how slow npm installs?

[-] Potatos_are_not_friends@lemmy.world 8 points 1 year ago* (last edited 1 year ago)

I'm with the parent poster. How often is it hindering your work?

It's at tops, a 15-30 second wait, usually done at the start of the project.

I'm a unique use ase, where I have about 10 projects (because microservices) that I'd have to npm install, and it's still not a pain to install them.

Are people running npm install dozens of times a week on the same project? Because why?

I'm not shitting on Bun. I'm actually supporting it's growth. But until it solves some real performance bottlenecks, (switching from gulp/webpack to vite changed our compiling time from 18 seconds to 2 seconds), I can't see any reason for people to change their workflow.

[-] snowe@programming.dev 3 points 1 year ago

Hmm, npm can take up to five minutes for me. I usually just leave it alone and go do other stuff. And I have fiber internet, so it’s not download speed that’s the problem.

load more comments (3 replies)
load more comments (3 replies)
load more comments (7 replies)
this post was submitted on 17 Sep 2023
100 points (96.3% liked)

Programming

17207 readers
265 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 1 year ago
MODERATORS