News for hackers. Stuff that matters.
Re:Bun's experimental Rust rewrite hits 99.8% test compatibi... by boxed on Sunday May 10, 2026 @07:20AM (#48082959)
From what I understand, rust "unsafe" is actually pretty damn safe compared to an actually memory unsafe language.
Re:Bun's experimental Rust rewrite hits 99.8% test compatibi... by IshKebab on Sunday May 10, 2026 @11:12AM (#48084638)
Not really. In fact unsafe Rust is widely considered to be significantly harder to get right than C or Zig.

E.g. see https://chadaustin.me/2024/10/intrusive-linked-list-in-rust/ or https://lucumr.pocoo.org/2022/1/30/unsafe-rust/

The saving grace is that in idiomatic Rust code you have very little unsafe code - usually none. But yeah there's no way I would trust AI to get unsafe Rust right.

Re:Bun's experimental Rust rewrite hits 99.8% test compatibi... by lionkor on Monday May 11, 2026 @02:53AM (#48091822)
It's unsafe