logoalt Hacker News

j2kun • today at 2:34 AM • 2 replies • view on HN

Functional equivalence here, of course, depends on the completeness of the test suite, where byte-identical compiled artifacts does not.

(For example, your approach would not necessarily catch all the same overflow behaviors; the OP expressly claimed that "replicating all bugs" was also important, and many bugs are caused by certain overflow behaviors)


Replies

nine_k • today at 4:38 AM

> catch all the same overflow behaviors

So you're looking not just for functional but also dysfunctional equivalence %)

➕ show 1 reply
SubiculumCode • today at 2:37 AM

Byte exact seems only of interest to preserve known bugs etc for cheats/shortcuts/etc.

➕ show 2 replies