Re:SQLite should have (Rust-style) editions
by kccqzy on Wednesday July 15, 2026 @08:24PM
(#48928994)
It’s not as bad since you can always use a powerful programming language with a good type system that avoids type errors at the SQL level. You can build good abstractions in your programming language.
Re:SQLite should have (Rust-style) editions
by groundzeros2015 on Wednesday July 15, 2026 @08:32PM
(#48929059)
SQLite competes with fopen. Not Postgres
Re:SQLite should have (Rust-style) editions
by wang_li on Wednesday July 15, 2026 @09:17PM
(#48929330)
It’s curious how many people don’t understand what SQLite is and its intended feature set. They get huffy that it’s not a full client server model with multimaster clustering across 8 data centers on 12 continents plus New Zealand with realtime synchronous replication.
It’s a product that allows you to do sql like things without a database server. If you need to have database server behavior, you’re using the wrong product.
Re:SQLite should have (Rust-style) editions
by lbourdages on Wednesday July 15, 2026 @10:19PM
(#48929670)
Well, it goes both ways. You'll see articles saying essentially "you don't need Postgres or any other fancy database, SQlite is enough" while ignoring the fact that some use-cases warrant a more conventional DB server.
Different tools for different situations!
Re:SQLite should have (Rust-style) editions
by groundzeros2015 on Thursday July 16, 2026 @06:28AM
(#48932641)
I think this critique was traditionally about the LAMP stack. Imagine how many engineering years would have been saved if Wordpress ran on SQLite,
- no db user configuration - no installing multiple tenants in the same db - no phpmyadmin (ftp db files) - no remote database hacks - no backup tools
Re:SQLite should have (Rust-style) editions
by lenkite on Thursday July 16, 2026 @01:01AM
(#48930547)
I agree with you. There are 2 dozen foot-guns to be kept in mind. And discovered a new footgun regarding multi-byte strings and NUL handling today on HN. SQLite became popular because it was the only free and open-source choice 2 decades ago. Now there are other type-safe and robust choices.
What are other choices for FOSS serverless relational databases? I’ve been looking everywhere and couldn’t find anything.
Re:SQLite should have (Rust-style) editions
by lenkite on Thursday July 16, 2026 @04:50AM
(#48931943)
DuckDB ? Strict by default and excellent for logs, telemetry, dashboard apps, etc.
From what I can tell, DuckDB is more focused on huge-scale data analysis than simple data persistence, so I’m not sure if it fits my use cases. Otherwise, it looks good.
Re:SQLite should have (Rust-style) editions
by homebrewer on Thursday July 16, 2026 @05:37AM
(#48932305)
Firebird can be embedded, although neither the database itself, nor the embedded mode are as popular as they once were.
It's a fully featured database though, with everything you expect from one, including actually working ALTER TABLEs.
Re:SQLite should have (Rust-style) editions
by Ekaros on Thursday July 16, 2026 @04:06AM
(#48931611)
It is very simple. Which means fast to setup in dev environment for local testing. Which makes first version very easy. And then people just keep fixing that one.
Still I quite a lot of question the use on servers if you have decided that I need a database.
Not that there isn't more valid use cases like local storage or self-contained information transfer for specific use.
It's like comparing old php with a strongly typed language.
There is not even a date type...