• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

I Like Kill Nerds

The blog of Australian Front End / Aurelia Javascript Developer & brewing aficionado Dwayne Charrington // Aurelia.io Core Team member.

  • Home
  • Aurelia 2
  • Aurelia 1
  • About
  • Aurelia 2 Consulting/Freelance Work

Thoughts on Bun

Javascript, Opinion · July 17, 2022

Say what you will, but since its introduction in 2009, Node.js has been the undisputed king of server-side Javascript. Created by Ryan Dahl, Node.js had virtually no competition for years.

Until recently, the only person to truly challenge Node.js was Ryan Dahl with his runtime Deno that improved upon some of the flaws that Ryan saw in Node.js which that were systematic and difficult to fix.

Well, there is a new competitor NOT written by Ryan this time called Bun. Who said 2022 had no surprises left?

It’s a silly name, but what isn’t silly is how impressive Bun is.

From their own website metrics, you can see Bun greatly exceeds Node and Deno in performance quite substantially. Always do your own research and take metrics like these with a grain of salt, but even if only 50% of what is reported is still better.

Ryan Dahl and the investors who have poured millions into Deno must be sweating a little bit right now.

Not only is Bun a way faster runtime, it also bridges some of the gaps that Deno left (and I believe hindered its adoption).

Where Bun differs from others is it uses Javascript Core instead of the Google V8 engine.

Not only does Bun replace Node and Deno, it also seems to go further and replace a tonne of other things.

  • A bundler that replaces Webpack
  • Transpiler that supports TypeScript compilation (a la Deno)
  • Support for Npm packages
  • Task runner
  • Test runner
  • Coverage of most of the Node API’s (currently 90%)

Honestly, Bun is incredible. It is what Deno should have been when it launched. Being so new, it’s inevitable that there might be bugs or certain features missing that make it less plug and play than it portrays, but for a project that will only get better: it’s impressive.

Bun feels like a project that has a very bright and promising future ahead of it. If Deno doesn’t do something to catch up, then my money would be on Bun.

Dwayne

Leave a Reply Cancel reply

0 Comments
Inline Feedbacks
View all comments

Primary Sidebar

Popular

  • I Joined Truth Social Using a VPN and Editing Some HTML to Bypass the Phone Verification
  • Testing Event Listeners In Jest (Without Using A Library)
  • How To Get The Hash of A File In Node.js
  • Thoughts on the Flipper Zero
  • Waiting for an Element to Exist With JavaScript
  • How To Paginate An Array In Javascript
  • How To Mock uuid In Jest
  • How To Decompile And Compile Android APK's On A Mac Using Apktool
  • How To Get Last 4 Digits of A Credit Card Number in Javascript
  • Wild Natural Deodorant Review

Recent Comments

  • CJ on Microsoft Modern Wireless Headset Review
  • Dwayne on Microsoft Modern Wireless Headset Review
  • CJ on Microsoft Modern Wireless Headset Review
  • john on Microsoft Modern Wireless Headset Review
  • Dwayne on Why You Should Be Using globalThis Instead of Window In Your Javascript Code

Copyright © 2023 · Dwayne Charrington · Log in

wpDiscuz