News for hackers. Stuff that matters.
Re:Rust-Query by josephg on Monday December 02, 2024 @09:33AM (#42296586)
> I can see this being solved for one database. But not across all databases and a common api.

Database client libraries are already database-specific. Why boil the ocean? We could start with one database with this very easily until we figured out a good IR for queries.

It could even be database-version specific if you wanted, through the use of wasm. Make the database client library embed a wasm VM. Then on startup, the database sends any connected client application the latest query optimizer / whatever logic in a compiled wasm bundle. This would allow the database to make improvements to the IR with successive versions without needing to update all the client libraries out there.

There are no comments on this comment yet.