Comment by galangalalgol

1 year ago

Also the very rigid testing makes the rewrite a lot easier to validate.

...as long as you can persuade the keepers of the proprietary test suite to agree to run it against your code.

  • Even without that, it’s helpful. It means there is less (no?) undefined behavior that you will need to emulate to maintain compatibility. You can just follow the spec.

    • If you can not run the test suite, then how do you know that you properly followed the spec? And did so securely? And in a performant manner? Even for edge cases? On obscure hardware, filesystems, and OSes? Even if the power cuts out? Or the cable to the hard drive (transactions)? Even if a stray cosmic ray flips a bit?

      By the way, SQLite itself does not meet one of these criteria. Know which one? ))

      1 reply →