Bun 1.0 is finally here.
Bun is a fast, all-in-one toolkit for running, building, testing, and debugging JavaScript and TypeScript, from a single file to a full-stack application. Today, Bun is stable and production-ready.
Hacker news discussion has a developer of Bun answering questions.
It’s hard not to get excited for Bun.
Ok, I’m in love with the logo. This better be good.
deleted by creator
Javascript isn’t my primary language but How is it different/better than vite? I’ve used vite for a few vue projects and it felt really fast.
Bun is designed as a drop-in replacement for Node.js. It natively implements hundreds of Node.js and Web APIs, including
fs
,path
,Buffer
and more.The goal of Bun is to run most of the world’s server-side JavaScript and provide tools to improve performance, reduce complexity, and multiply developer productivity.
If it can replace node and pnpm at the same time then this sounds quite good actually.
EDIT
https://bun.sh/guides/ecosystem/viteWhile Vite currently works with Bun, it has not been heavily optimized, nor has Vite been adapted to use Bun’s bundler, module resolver, or transpiler.
https://bun.sh/guides/ecosystem/nuxt
Bun supports Nuxt out of the box. Initialize a Nuxt app with official
nuxi
CLI.So it can also do tooling like vite but it primarily aims to replace node as a better and faster js runtime since they’re rewritten most js api in zig and c++ from what it shows on their github. I’ll give it a try sometime and see if it’s really all that fast and easy as it claims.