TL;DR
The Bun team is actively rewriting parts of Bun in Rust to improve performance and stability. Progress is steady, but some technical challenges remain. The update highlights ongoing efforts and future plans.
The Bun team has confirmed that their major rewrite of Bun’s core components in Rust is progressing, aiming to enhance performance and stability. This effort is part of Bun’s broader strategy to become a faster, more reliable JavaScript runtime, but no definitive completion date has been announced.
According to sources close to the project, the rewrite in Rust began earlier this year, with developers focusing on replacing critical performance bottlenecks in Bun’s JavaScript engine. The team reports steady progress, with several modules now ported to Rust and undergoing testing.
While the team has shared some benchmarks indicating improved speed and lower memory usage, they have also acknowledged ongoing challenges, including integration issues and ensuring compatibility across diverse environments. No official release timeline has been provided, and the project remains in active development.
Impact of Rust Rewrite on Bun’s Performance and Stability
This rewrite could significantly improve Bun’s performance and stability, making it more competitive against established runtimes like Node.js and Deno. For developers, this means potentially faster execution times and fewer bugs, which could influence adoption and ecosystem growth. However, the transition period may involve instability and incomplete features, which users should monitor.

Introduction to JavaScript Runtime Architecture: Event Loops Module Loaders and Native Performance Optimization
As an affiliate, we earn on qualifying purchases.
As an affiliate, we earn on qualifying purchases.
Background and Development Timeline of Bun’s Rust Rewrite
Bun, launched in 2022, quickly gained attention as a high-performance JavaScript runtime built in C++, with a focus on speed and developer experience. In 2023, the team announced plans to rewrite core components in Rust to leverage its safety and concurrency features. The rewrite is part of Bun’s broader effort to differentiate itself through performance innovations, with initial prototypes shared in developer updates.
“We have not set a specific release date for the Rust-based version, but development is actively ongoing, and we will share updates as milestones are reached.”
— Bun project spokesperson

As an affiliate, we earn on qualifying purchases.
Unresolved Technical Challenges and Timeline Ambiguities
While progress has been confirmed, details remain scarce regarding the full scope of the rewrite, specific performance benchmarks, and the final release timeline. Developers are still addressing integration issues, and it is unclear how long these will take to resolve or how stable the final product will be upon release.

Kaisi Professional Electronics Opening Pry Tool Repair Kit Metal Spudger
- Complete pry tool set: 20-piece electronics repair kit
- Durable stainless steel: Professional-grade construction for longevity
- Variety of tools: Includes plastic, steel pry tools and ESD tweezers
As an affiliate, we earn on qualifying purchases.
As an affiliate, we earn on qualifying purchases.
Upcoming Development Milestones and Community Expectations
The Bun team is expected to share further updates on their progress at upcoming developer conferences and through blog posts. Key milestones include completing module porting, resolving remaining bugs, and conducting comprehensive testing. The community awaits a beta release, which could happen within the next few months, but no official date has been announced.
Node.js vs Bun performance comparison
As an affiliate, we earn on qualifying purchases.
As an affiliate, we earn on qualifying purchases.
Key Questions
Why is Bun rewriting its core in Rust?
The team aims to leverage Rust’s safety, concurrency, and performance benefits to improve Bun’s speed and reliability.
Will the Rust rewrite be backward compatible?
It is not yet clear whether the new Rust-based version will be fully backward compatible with existing Bun modules and scripts. Compatibility testing is ongoing.
When can users expect a stable release of the Rust version?
No official release date has been announced. The team is focused on completing development milestones and testing phases first.
What are the main technical challenges faced in the rewrite?
Developers are addressing issues related to module integration, performance benchmarking, and ensuring cross-platform stability.
How does this rewrite compare to other runtimes like Node.js or Deno?
The rewrite aims to make Bun more competitive by improving speed and stability, potentially surpassing existing runtimes in certain benchmarks. However, it remains in development.
Source: hn