Hacker News new | ask | show | jobs
by pletnes 19 days ago
Which project did you work on that made specs that good? I sure haven’t (but I am sure they exist).
1 comments

In one case I formalized the spec for a message decoder, then autonomously generated the entire decoder from that. The spec is essentially a very slow version of the decoder written for correctness and clarity, and the implementation became very complex as it went through multiple optimizations, but it was proved every step of the way to match the original spec.