PgRust: AI-Coded Rust Rewrite of PostgreSQL Passes 100% of Tests

Published by

Malcolm Matis has introduced PgRust, a complete Rust rewrite of PostgreSQL, which successfully passes all 46,000 queries in the Postgres 18.3 regression suite. The project utilized eight parallel AI coding agents to produce over 450,000 lines of code, aiming for architectural advancements like a thread-per-connection model and improved disk compatibility. While early benchmarks suggest significant performance improvements, such as faster transaction throughput and analytical workloads, Matis cautions that the current v0.1 release is not production-ready or performance-optimized. Despite facing community skepticism regarding its feasibility and potential risks, PgRust represents an ambitious effort to modernize database infrastructure using AI technology



PgRust: AI-Coded Rust Rewrite of PostgreSQL Passes 100% of Tests

Former Heap CEO Malcolm Matis has announced pgrust, a complete Rust rewrite of PostgreSQL that successfully executes all 46,000 queries in the Postgres 18.3 regression suite without failure. The project leveraged eight parallel AI coding agents to rapidly generate over 450,000 lines of code, targeting architectural shifts like a thread-per-connection model and native disk compatibility. While early benchmarks claim dramatic performance leaps and a narrowing gap with ClickHouse, the author explicitly notes the current v0.1 release is neither production-ready nor performance-optimized. Despite lacking major extension support and facing legitimate community skepticism, pgrust marks a landmark experiment in using AI to modernize decades-old database infrastructure.

PgRust: AI-Coded Rust Rewrite of PostgreSQL Passes 100% of Tests @ Linux Compatible