4 ms·
A smaller Rust just sounds spiritually like Zig to me. Like C++ to C.
by andrewmcwatters 1y ago
A smaller Rust just sounds spiritually like Zig to me. Like C++ to C.
- bonzini 1y agoRust 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.