barney is building Rad
The relational database, redesigned.
Rad keeps the relational model, which is the good bit, and questions the assumption that the way you talk to it has to be SQL.
instead of SQL
A relational IR
The interface is an intermediate representation rather than a string of SQL. It is meant to be written by machines, so generated clients compile a transaction into a structured program and hand that over. SQL dialects and ORMs are frontends that target it, the way languages target LLVM.
instead of disks
Object storage
There is no on-disk format. Durability is a bucket, which means the query engine runs on stateless compute with nothing persistent underneath it. That trades raw speed for not having to think about infrastructure.
instead of drift
The schema is in charge
One schema file is the source of truth for tables, relations and indexes. Migrations are a diff against it, computed by the database itself, and generated clients are pinned to the schema they were built from so they refuse to run against a server that has moved on.
It does relational, and not much else.
Joins, CTEs, parents and children that come back nested rather than flattened and rebuilt by hand. No graph traversal, no vectors, no pubsub. The server, the CLI, the devtools and the code generation are one binary.