If the tutorial uses Rust, why didn't they use a solver written in Rust? Z3 was written in C++.
suddenlybananas•1h ago
What solver would you have them use? Z3 is very mature and the Rust bindings are pretty good in my (limited) experience.
amelius•1h ago
I would write the tutorial in C++, for a more direct experience.
volemo•44m ago
I personally like to avoid the “writing in C++” experience. :/
amelius•33m ago
The authors of a powerful solver package thought differently.
onair4you•1m ago
It might have more to do with the first release of Z3 being in 2012, with the first stable Rust release being in 2015. Rather than the authors of Z3 passing some kind of judgment on Rust…
suddenlybananas•18m ago
The author might not know C++ and you don't need to use C++ to effectively use z3.
wren6991•1h ago
Z3 struggles with larger problems. CVC5 or Bitwuzla do a lot better once you get into anything complex.
If you're familiar with the Z3 Python API, you'll find the CVC5 one familiar.
Caveat: I mostly do logic design, maybe there are some software verification tasks where Z3 comes out ahead. I've never seen one though.
amelius•1h ago
suddenlybananas•1h ago
amelius•1h ago
volemo•44m ago
amelius•33m ago
onair4you•1m ago
suddenlybananas•18m ago