Hacker News new | ask | show | jobs
by n42 4 days ago
The combination of static safety gracefully degrading to runtime safety where not provable is interesting to me
1 comments

This is sort of already possible in Rust when you use safe primitives (e.g., RefCell), but it doesn't cover unsafe code invoking Undefined Behavior. Placing something like Fil-C around unsafe code could prove to be interesting, especially since current approaches rely on interpretation (Miri, Soteria Rust) rather than translation.