Movatterモバイル変換


[0]ホーム

URL:


Skip to content
DEV Community
Log in Create account

DEV Community

Aishanii
Aishanii

Posted on

Bun is breaking other package managers

A new javascript runtime is the central thing on the internet and I think it's time for new sticker on my laptop I code JS on.

But how is Bun so performant?⚡️

Built from scratch🧑‍🍳

Bun is not built on top of nodejs, rather they have used Zig over Webkit (for Safari) and internally optimised for performance by getting into the basics.

Caching and linking internally📁

Once installed, packages are needed to be called in node_modules and for that they have dedicatedly taken OS in consideration. While in linux syscalls help make internal calls faster, in macOS that is not available, hence they copy all the files that costs memory.

The APIs✍️

The APIs are in Native code and not in javasript which not only exposes them to machine level code but also gives them freedom to look into things at a deeper level.

There are many more good things which can be found here:
https://bun.sh/blog/bun-v1.0

The guy to follow to get updates is here:https://twitter.com/jarredsumner (literally the creator tweeting changes incoming)

Top comments(0)

Subscribe
pic
Create template

Templates let you quickly answer FAQs or store snippets for re-use.

Dismiss

Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment'spermalink.

For further actions, you may consider blocking this person and/orreporting abuse

I journal tech learnings and may give my 2 cents💁‍♀️ | Follow my System design journey!
  • Location
    India
  • Joined

More fromAishanii

DEV Community

We're a place where coders share, stay up-to-date and grow their careers.

Log in Create account

[8]ページ先頭

©2009-2025 Movatter.jp