News for hackers. Stuff that matters.
Re:The Core of Rust by andrewmcwatters on Thursday August 21, 2025 @02:34PM (#44976394)
A smaller Rust just sounds spiritually like Zig to me. Like C++ to C.
Re:The Core of Rust by bonzini on Thursday August 21, 2025 @02:40PM (#44976444)
Rust without safety-by-default, and hence without the borrow checker, is not Rust. A smaller Rust should either remove unsafe constructs (and then you get something more like a new Java/Scala/Kotlin except with aliasing XOR mutability) or keep the pointer/reference distinction (which Zig doesn't have).

Zig is more like a smaller C++ than a smaller Rust.