this post was submitted on 17 Sep 2023
100 points (96.3% liked)

Programming

17485 readers
123 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 [email protected]



founded 1 year ago
MODERATORS
 

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
[–] [email protected] 16 points 1 year ago* (last edited 1 year ago) (4 children)

So, Bun claiming to be faster than Node is bull****, basically.

[–] [email protected] 13 points 1 year ago

Pretty much. Their benchmarks seem to be VERY cherry picked to skew things in their favour, specially the testing framework part, where bun compares its speed to one of the slowest testing frameworks out there (jest) and claim victory.

I'm very glad that this guy actually made benchmarks instead of just reading what's on bun's site before posting a video about it.

[–] [email protected] 12 points 1 year ago

Bun is blazingly faster than node*

*As a package manager

[–] [email protected] 4 points 1 year ago* (last edited 1 year ago)

Not at every turn though. Also it runs on Webkit instead of Googles V8 :)