Hacker ApprovedDepartments

Diesel ORM

Ranked 10 of 11 ORMs by recommenders

Rust ORM that maps SQL types to Rust types through a thin, typed interface. Some find its boilerplate annoying.

Rust ORM that maps SQL types to Rust types through a thin, typed interface. Some find its boilerplate annoying.

8 people gave an opinion

recommend it
6
criticize it
2
approval share
75%
Each figure is one person. RecommendsCriticizes

Recommended in 4 of 13 months

  1. November 2025: not recommended
  2. December 2025: not recommended
  3. January 2026: not recommended
  4. February 2026: recommended
  5. March 2026: recommended
  6. April 2026: not recommended
  7. May 2026: recommended
  8. June 2026: not recommended
  9. July 2026: not recommended
  10. August 2026: not recommended
  11. September 2026: not recommended
  12. October 2026: recommended
  13. November 2026: not recommended (month in progress)

Why it doesn’t carry the badge

  • 6 people recommend itNeeds 10 or more, not met.
  • 3 recommenders for every criticNeeds 2 to 1 or better, met.
  • Recommended in 4 of 13 monthsNeeds 4 or more, met.

The same three rules apply to every product, and the badge can’t be bought. How the badge works

What people say about it

The reasons people give, with the number of comments that give each one. Open a reason to read what they said.

Why people recommend it

Each mark is one comment

  • Thin typed mapping of SQL types

    “a very thin DSL/interface that maps SQL types to Rust types”

    Comment from 21 Mar 2026 in “Java Is Fast. Your Code Might Not Be”

    “because I like formal types”

    Comment from 21 Oct 2026 in “Rust off Rails: The opinionated web stack for the AI era”
  • Top choice for Rust web backends

    “the Diesel ORM is the #1 reason to be using Rust for a web backend”

    Comment from 20 Feb 2026 in “Farewell Rust”

    “Other languages have similar libraries, e.g., Rust has Diesel.”

    Comment from 7 May 2026 in “SQLite Is a Library of Congress Recommended Storage Format”

Other ORMs people recommend

The four most recommended other ORMs, with the same counts for each, so you can compare like for like. The tick on each bar marks the 2 to 1 line the badge needs.

Diesel ORM compared with 4 alternatives
ProductRecommendCriticizeApprovalMonthsOwnedBadge
Entity Framework Core351965%12——
SQLAlchemy332854%11——
Drizzle ORM25681%10—Approved
Dapper19386%7—Approved
Diesel ORMThis page6275%4——
See all 11 ORMs, ranked

What people said

8 of the 9 comments that mention it, newest first. Each links to the original comment.

“because I like formal types”

RecommendsComment from 21 Oct 2026 in “Rust off Rails: The opinionated web stack for the AI era”

“mildly annoyed about some the boilerplate Diesel involves”

CriticizesComment from 18 Jul 2026 in “Topcoat: The full full-stack framework for Rust”

“Other languages have similar libraries, e.g., Rust has Diesel.”

RecommendsComment from 7 May 2026 in “SQLite Is a Library of Congress Recommended Storage Format”

“I much prefer rust diesel's approach of no lazy queries”

MixedComment from 1 May 2026 in “Postgres's lateral joins allow for quite the good eDSL”

“a very thin DSL/interface that maps SQL types to Rust types”

RecommendsComment from 21 Mar 2026 in “Java Is Fast. Your Code Might Not Be”

“Axum, Rocket, Diesel etc, are all IMO not in the same league as Django.”

CriticizesComment from 12 Mar 2026 in “Returning to Rails in 2026”

“it's probably the closest thing out there to EF core outside of .NET”

RecommendsComment from 20 Feb 2026 in “Farewell Rust”

“the Diesel ORM is the #1 reason to be using Rust for a web backend”

RecommendsComment from 20 Feb 2026 in “Farewell Rust”

Counts come from 1,795,640 Hacker News comments, November 2025 to November 2026. How we count. Report a mistake.