3 ms·
Sqlite is certified for use in planes. This requires a high level of tests. I think the odds are likely that Firefox is doing something unsuspected. https://w
by NicoJuicy 6y ago
Sqlite is certified for use in planes. This requires a high level of tests.
I think the odds are likely that Firefox is doing something unsuspected.
https://www.sqlite.org/testing.html https://www.sqlite.org/testing.html
- Four independently developed test harnesses
- 100% branch test coverage in an as-deployed configuration
- Millions and millions of test cases
- Out-of-memory tests
- I/O error tests
- Crash and power loss tests
- Fuzz tests
- Boundary value tests
- Disabled optimization tests
- Regression tests
- Malformed database tests
- Extensive use of assert() and run-time checks
- Valgrind analysis
- Undefined behavior checks
- Checklists
- easton 6y ago"Valgrind is perhaps the most amazing and useful developer tool in the world." It seems that about once a month I read something that makes me like SQLite even more. I guess that they like Valgrind as much as I do is the reason this month.
- unmole 6y agoValgrind is fine if you can live with the false positives, limited stack validation and execution slowdown. In a development environment, AddressSanitizer is a far better choice.
- throwaway2037 6y agoI am trolling on the person you to whom you replied... <<This bug has occurred to me personally multiple times.>> Hello, I am AirBus engineer (not really, only pretend). Does my plane crash? No, it does not! Dear Random Internet Person who complains that open source software is broken. Are you joking? We are talking about SQLite!!?? SQLite has whole pages dedicated to "why you should NOT use SQLite". How many open source projects are /so/ good they can do this? Incredible! The test coverage feels like NASA.