Back to blog
engineeringarchitecture

Why We Chose Bun

·1 min read
Why We Chose Bun

The runtime decision

When we set out to build this documentation platform, we had a key decision: which JavaScript runtime should power it?

Why not Node.js?

Node.js is battle-tested and has a massive ecosystem. But we wanted something faster out of the box — especially for server-side rendering React components.

Enter Bun

Bun gave us everything we needed:

The results

Our documentation pages render in under 5ms server-side. The entire build (MDX compilation + client bundle + CSS) completes in seconds.

// This is all it takes to start the server
const app = new Elysia()
  .use(staticPlugin())
  .use(docsRoutes)
  .listen(3000);

Bun was the right call. If you're building a content-heavy site with SSR, give it a try.

Written by

The Team

Building great developer tools.