Bun's Rust rewrite contains code that fails Miri safety checks and allows undefined behavior in safe Rust, according to a GitHub issue that has garnered significant community attention.
A critical issue reported on Bun's repository highlights that the codebase fails basic Miri verification—a tool designed to detect undefined behavior in Rust code. The problem allows unsafe operations to occur within safe Rust contexts, violating core language guarantees.
Miri checks are essential for catching memory safety violations before runtime. By failing these tests, the code exposes potential bugs ranging from memory corruption to data races.
The issue has generated substantial discussion, with 82 comments on Hacker News and 142 upvotes, indicating widespread concern within the Rust community. Developers using Bun's Rust components may face stability or security risks until the codebase is remediated.
The Bun project, known for its JavaScript runtime performance focus, will need to address these safety violations to maintain reliability and meet Rust community standards. No timeline for fixes has been announced.
The yt-dlp project has announced limited and deprecated support for Bun, the JavaScript runtime. The change affects users relying on Bun to run the popular video downloader.
A new perspective on software development emphasizes writing code with future maintainers in mind. The approach prioritizes readability and clarity over clever optimizations.
A Rust implementation of PostgreSQL has reached a major milestone by passing 100% of the database system's regression test suite. The project demonstrates functional parity with the original C-based database.