I'm not sure why a minor SQLite bugfix release needs to be posted here.
I'm not sure why a minor SQLite bugfix release needs to be posted here.
If an AI were trained to write hit HN posts, "Writing Rust Extensions For SQLite" would probably be in the top results.
https://ricardoanderegg.com/posts/extending-sqlite-with-rust...
"Why I'm quitting my job to migrate from Rust to Common Lisp for my crypto and SQLite based 'self-hosting email sucks' themed nft tweet generating SaaS platform to prepare it for IPO, after $faang_corp cancelled my account."
* Something about self-driving cars
* Something about Uber
* A casual "Im so cool" reference to the SF Bay Area, like Folsom street or something
* Accidentally letting slip you're in your late teens but giving business advice anyways
Then there’s branchless boundary conditions e.g. your software might fuck up on overflow, but there’s no branching, at least not in your code. Just things which get incoherent in ways you had not anticipated.
Think about it for a second. Imagine you have
function(bool foo, bool bar) {
if(foo) {
//Something
} else {
//Something else
}
if(bar) {
//Something
} else {
//Something else
}
}If you add two unit tests that test foo(true,true) and foo(false, false) you get 100% line and branch coverage, but only hit 50% path coverage.
Karma, probably.
Also I think some HN features are gated on karma? I’d like a feature where the markup isn’t complete shit but apparently I don’t have enough karma for that.
I would never touch a .0 release of a new version of SQLite. No shame against them or their fantastic quality--it's just that I have lived through literal decades of watching minor database bugs shatter data value and undermine all efficiency.
When I see a .3 or better, I start thinking a version is usable. The fact the SQLite moves their quality needle this quickly is encouraging.
But maybe .4 can go more quietly.
Because of the DO-178B status, SQLite is sufficiently reliable to be used with in-flight avionics (on Airbus A350 models, noted so far).
The test suite requires every branch instruction to be exercised at the machine-language level, in both directions if conditional.
The software that we are used to is not held to this exacting standard.
If we were talking about Oracle or SQL Server, .0 version hesitance is valid, and SQLite tests have crashed both of them, repeatedly. Obviously, they cannot be used with applications requiring DO-178B compliance.
This document is part of that testing compliance:
RIGHT and FULL probably should have come first, but this works for my tastes.