June 4, 2026

SQL’s glam rival enters the chat

Show HN: Prela – Purely Algebraic Relation Combinators

A fancy new way to query data has commenters split between “beautiful” and “what are these symbols”

TLDR: Prela is an experimental new way to ask database questions using compact math-style expressions instead of regular SQL. Commenters instantly split over whether it’s elegant and promising or just unreadable symbol soup, with some wondering if AI might appreciate it more than people do.

A new Hacker News showcase for Prela—a baby-stage project that tries to rethink database questions using math-y building blocks instead of classic SQL—should have been a celebration of elegant ideas. Instead, the comments quickly turned into a familiar internet cage match: is this the future, or is it just another clever thing normal humans will never want to read? The creator says Prela can make data queries shorter, clearer, and faster, with pieces that can be mixed more naturally than in standard database languages. In plain English: it’s trying to make asking complex data questions feel more like composing expressions than wrestling a giant spreadsheet formula.

But the crowd was not ready to hand over the crown. One of the sharpest reactions basically said, “Readable to newcomers? Not really.” That became the emotional center of the thread: fans saw elegance, skeptics saw a wall of mysterious symbols that looks less like plain speech and more like someone spilled punctuation on the keyboard. Others brought receipts, comparing it to Morel, a side project from Apache Calcite’s Julian Hyde, and noting that this style of “querying with a programming language” already has cousins in the wild.

Then came the practical hot take: even if Prela is objectively better, can anything really dethrone SQL, JavaScript, or Excel—the immortal trio of “everyone uses it, so everyone keeps using it”? One commenter even floated a very 2020s twist: could AI agents be better at this than humans? Meanwhile, another commenter got distracted by the phrase “Simple (SPJ),” creating a tiny side quest over whether it referenced a famous programmer or just accidentally summoned niche nerd confusion. Classic Hacker News: one new tool, three philosophy debates, and a punctuation-based identity crisis.

Key Points

  • Prela is an embedded query language based on Tarski’s Algebra of Relations and implemented through shallow embedding in a host language.
  • The project is a research prototype in early development, with active work focused on a Julia implementation and experimental Rust and Zig ports.
  • The article presents a movie-query example to show how Prela interleaves predicates and outputs in a single navigational expression.
  • Prela represents all data as binary relations, effectively shredding each table into separate binary relations for each column.
  • Operators such as `>` and `in` are overloaded to work on relations, producing filtered relations that can be composed into queries.

Hottest takes

"Not really, too many obscure symbols" — anentropic
"SQL, JS, Excel are really hard to substitute" — cpard
"the example query looks very similar to Morel queries" — gavinray
Made with <3 by @siedrix and @shesho from CDMX. Powered by Forge&Hive.