|
|
|
|
|
by sanxiyn
1886 days ago
|
|
No, the rule I stated is what is actually implemented. Like all type checking technology, the rule is about static behavior, not dynamic behavior. So halting problem is irrelevant. Rust accepts all programs that follow the rule in static behavior. It's not a subset, and it's not a best effort to prove. It's the complete statement. "Access" means source code construct to read or write. Rust doesn't care whether the construct is actually executed in runtime. |
|
I see these are limitations but not show-stoppers in any way.