Why use Rust on the back end?

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai
featured
Nutrient - The #1 PDF SDK Library
Bad PDFs = bad UX. Slow load times, broken annotations, clunky UX frustrates users. Nutrient’s PDF SDKs gives seamless document experiences, fast rendering, annotations, real-time collaboration, 100+ features. Used by 10K+ devs, serving ~half a billion users worldwide. Explore the SDK for free.
nutrient.io
featured
  1. validator

    Simple validation for Rust structs (by Keats)

  2. CodeRabbit

    CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.

    CodeRabbit logo
  3. sqlc

    Generate type-safe code from SQL

    Why don't you use sqlc + pgx? What's missing from the two?

    https://github.com/kyleconroy/sqlc

    https://github.com/jackc/pgx

  4. pgx

    PostgreSQL driver and toolkit for Go

    Why don't you use sqlc + pgx? What's missing from the two?

    https://github.com/kyleconroy/sqlc

    https://github.com/jackc/pgx

  5. rust-playground

    The Rust Playground

    Here's an example I threw together: https://play.rust-lang.org/?version=stable&mode=debug&editio...

    Hopefully that gets the gist of how you might approach it. I'm not sure I'd use the HashSet myself, to be completely honest, because it makes it needlessly complicated to get an element out of it. I'd probably just use a Vec.

  6. sqlx

    🧰 The Rust SQL Toolkit. An async, pure Rust SQL crate featuring compile-time checked queries without a DSL. Supports PostgreSQL, MySQL, and SQLite. (by launchbadge)

    > Doesn't it need to run introspection queries to check the table structures?

    Yes, but it can also run in 'offline' mode where it builds against saved metadata [0]

    0: https://github.com/launchbadge/sqlx/blob/main/sqlx-cli/READM...

  7. diesel

    A safe, extensible ORM and Query Builder for Rust

    Please reach out on the diesel discussion forum[1] about the lacking dev experience. I'm happy to discuss these issues and potential solutions there.

    [1] https://github.com/diesel-rs/diesel/discussions

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • What's new in SeaQuery 0.27.0

    2 projects | dev.to | 9 Nov 2022
  • Initial release of diesel-async

    8 projects | /r/rust | 27 Sep 2022
  • What are modern & stable tools & frameworks for REST API

    4 projects | /r/rust | 9 Sep 2021
  • What has been your experience creating a web app with Rust vs other languages

    6 projects | /r/rust | 16 Jan 2021
  • Show HN: Outerbase Studio – Open-Source Database GUI

    19 projects | news.ycombinator.com | 4 Dec 2024