Y
Hacker News
new
|
ask
|
show
|
jobs
by
potato-peeler
105 days ago
For the curious, solvers like z3 are used in programming languages to verify logic and constraints. Basically it can help find logic issues and bugs during compile time itself, instead of waiting for it to show up in runtime.
https://en.wikipedia.org/wiki/Satisfiability_modulo_theories...
3 comments
bjornsing
105 days ago
The concept is called static analysis.
link
ukuina
105 days ago
Seems adjacent, with some overlap.
link
lkuty
104 days ago
Like in the Dafny pogramming language. Cfr.
https://www.youtube.com/watch?v=oLS_y842fMc
link
mathisfun123
105 days ago
in theory that's what a compiler is - a thin wrapper over a SAT solver. in practice most compilers just use heuristics <shrug>.
link