| ▲ | herrkanin 3 hours ago | ||||||||||||||||||||||
> How is that better than the Zig codebase you started with? In contrast with the Zig codebase, you now have clear well-scoped unsafe boundaries you can iteratively fix one by one. This was not the case before. | |||||||||||||||||||||||
| ▲ | petesergeant an hour ago | parent | next [-] | ||||||||||||||||||||||
I would go further and say that anyone who doesn't immediately identify this either isn't thinking clearly about this, or is intentionally ignoring it. I have no horse in this race AT ALL and this is _obviously_ the advantage. | |||||||||||||||||||||||
| ▲ | cyber_kinetist 2 hours ago | parent | prev [-] | ||||||||||||||||||||||
> clear well-scoped unsafe boundaries This is not done by blindly porting Zig code 1:1 and calling it a day. You do have to make conscious decisions about code architecture to manage Unsafe code, since you need choose the right invariants for your Safe Rust code to conform inside the module (Note that unsafe pollutes the whole module containing it, not just the code inside the unsafe block!) | |||||||||||||||||||||||
| |||||||||||||||||||||||