Comment by egorfine

2 days ago

> This is what led to such a high volume of `unsafe` code

Which defeats the purpose of having it in rust.

That is incorrect.

Identifying where code is unsafe, is a qualitative improvement. Not guaranteed to be complete, but more complete than a language that does not focus on that concern. Moving forward, the benefits of Rust compound. The concern about AI is orthogonal to the concern about moving to Rust.

Now there are 2 versions[1] that can be instrumented, regardless of the misgivings about AI.

[1] Bun v1.3.14, released on May 13, 2026 (commit 0d9b296af) and current.

  • I don't think that is exactly incorrect. The whole purpose of Rust is that it makes code safe by default.

    > Identifying where code is unsafe, is a qualitative improvement

    Agree. There was no need to merge that slop into master though.