logoalt Hacker News

uecker • yesterday at 5:35 PM • 1 reply • view on HN

I was thinking for implementing borrow-checker like rules for C but after I have seen what SMT solver can do I think it is not necessary to constrain the language in this way.


Replies

aw1621107 • yesterday at 11:43 PM

IIRC Rust's borrow checker analysis is more or less a subset of what SMT solving is capable of. It's "just" a question of tradeoffs made with respect to performance, complexity, precision, etc.

➕ show 1 reply