Re:“Test-Only Development” with the Z3 Theorem Prover
by wkornewald on Thursday July 10, 2014 @04:06AM
(#8014104)
Yeah, that was my first thought, too, but the article is still inspirational. Could code generation ever be fast enough for practical problems? I'm wondering how far we could get if the generated code for each problem is cached between compiles (so we build up a huge database of solutions over time) and also reused, based on the satisfied constraints, when searching for solutions to more complex problems (much like developers reuse existing functions).
[ Parent
| on HN ]
Re:“Test-Only Development” with the Z3 Theorem Prover
by davedx on Thursday July 10, 2014 @04:45AM
(#8014225)
I good start might be getting RSpec and generating the correct scaffolds for it in Rails. It would only work for a tiny subset of problems but it would be a start, and also produce something many web developers could see the real world use for.