Vite 8.0 replaces esbuild and Rollup with Rust-built Rolldown, promising 10-30x faster builds and matching esbuild performance while maintaining plugin compatibility.
Vite 8.0 has been released, marking a significant shift in the JavaScript/TypeScript build tool landscape by replacing both esbuild and Rollup with a single Rust-built bundler called Rolldown. The Vite team claims this change delivers build speeds that are 10-30x faster than Rollup, while matching esbuild's performance.
The new version maintains Vite's core functionality as both a development server and build tool for TypeScript and JavaScript applications. It continues to support hot module replacement (HMR), which updates code without requiring a full page reload, and maintains compatibility with existing plugins through Rolldown's support for the same plugin API.
Rolldown itself is built on top of Oxc, another Rust utility that handles linting, formatting, parsing, transpiling TypeScript and JSX, module resolution, and minification. Both projects are open source and sponsored by Void Zero, a company founded in 2024 by Evan You, the creator of both Vite and the Vue.js framework.
When Void Zero was established, You explained that a unified toolchain was necessary to address what he saw as fundamental problems in the JavaScript ecosystem: "fragmentation, incompatibilities, and inefficiency." This philosophy drives the current architectural changes in Vite.
While Rolldown is included with Vite 8.0, it remains in release candidate status. Its minification feature, which reduces source code to minimal size using techniques like smallest possible variable names, is still in alpha development.
The performance improvements extend beyond just build times. The Vite team reports preliminary results showing 3x faster dev server startup, 40 percent faster full reloads, and 10x fewer network requests. Future plans include implementing a full bundle mode where modules are bundled during development as well as for production, making fast build times even more critical.
Early user feedback has been positive, with one developer reporting their build time dropping from 12 minutes to 2 minutes on a large project. This kind of improvement can significantly impact developer productivity and workflow.
Rolldown isn't the only Rust-based build tool making waves in the ecosystem. The Vercel-sponsored Turbopack project, created by Webpack's inventor Tobias Koppers, and Rspack from ByteDance are also rewriting build tools in Rust. All three perform well, though current benchmarks suggest Bun, built with Zig, still edges them out slightly.
However, Turbopack's tight integration with the Next.js framework limits its broader applicability, while Rolldown and Vite benefit from a mature plugin ecosystem and wide framework support. This gives Vite 8.0 a significant advantage in terms of flexibility and adoption potential.
The trend toward native code tools extends beyond build tools. The TypeScript project is turning to native code for its compiler in the forthcoming TypeScript 7.0, using Go instead of Rust. Microsoft's Anders Hejlsberg, the inventor of TypeScript, claims this change will deliver more than 10x performance gains.
This raises an interesting question about the broader JavaScript ecosystem. If native code tools provide such dramatic benefits for build processes and compilers, should developers reconsider using interpreted languages for application code itself when running outside the browser? Visual Studio Code, the most popular IDE and written in TypeScript using the Electron framework, is notably slower and uses more memory than native code editors like Zed or Notepad++.
The shift toward native code tools represents a significant evolution in how JavaScript and TypeScript projects are built and developed, potentially reshaping the entire ecosystem's performance characteristics and developer experience.


Comments
Please log in or register to join the discussion