What has been your experience creating a web app with Rust vs other languages

This page summarizes the projects mentioned and recommended in the original post on /r/rust

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, trusted by 10K+ developers
Other PDF SDKs promise a lot - then break. Laggy scrolling, poor mobile UX, tons of bugs, and lack of support cost you endless frustrations. Nutrient’s SDK handles billion-page workloads - so you don’t have to debug PDFs. Used by ~1 billion end users in more than 150 different countries.
www.nutrient.io
featured
  1. diesel

    A safe, extensible ORM and Query Builder for Rust

    I'm very comfortable with SQL but I still prefer the interface provided by ORMs for the simpler operations, as long as they have an escape hatch that allows for raw SQL when needed. AFAIK there is nothing in Rust right now that comes close to what Python offers there. I think the most developped one right now is Diesel, but it intentionally skips convenience methods for simpler joins like frameworks in other languages have. It also doesn't support async (https://github.com/diesel-rs/diesel/issues/399) which is a shame.

  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. sailfish

    Simple, small, and extremely fast template engine for Rust

    Using [Actix](actix.rs/), Sailfish, thiserror, and a bunch of supporting libraries reminds me of when I was building a project using Pylons and Mako (now replaced with Pyramid), except without the SQL.

  4. miniserve

    🌟 For when you really just want to serve some files over HTTP right now!

    I haven't done anything SQL-related in Rust yet (I'm still waiting for something as comfortable as Django ORM migrations or Alembic) but I am currently working on something that's "miniserve but for image galleries" as a practice project.

  5. Here's the latest project I've been working on. With the structure, even though it's something like 2000 lines, you'll find it's very easy to understand where everything is: https://gitlab.com/fishlist/fishlist-backend

  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)

    I'm gonna give somewhat of a different opinion than all the other guys: I've explored Rust web development a little during a week I took at the end of last year to widen my tech knowledge, and in my opinion it's just not there. The language is beautiful, but the amount of libraries is simply not enough. Both warp and tide are great starting points, but I found database access to be lackluster. SQLx is fine but can't fetch *-to-many associations (https://github.com/launchbadge/sqlx/issues/298 - this is blocked by a language feature) and diesel is not async. Template engines are good (very much like askama), so we have good support there. What I dearly missed is automatic OpenAPI spec generation based on endpoints and comments - ASP.Net is absolutely amazing in regards to that and has never disappointed me. I also don't really like rolling my own authentication scheme, although others might be okay with that. Rust-crypto is pretty great. In general I didn't find productivity to be very high, taking much longer to accomplish the same site compared to using Phoenix and its generators that do most of the work for me.

  7. jelly-actix-web-starter

    Discontinued A starter template for actix-web projects that feels very Django-esque. Avoid the boring stuff and move faster.

    For anyone interested: https://github.com/secretkeysio/jelly-actix-web-starter

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

  • Why use Rust on the back end?

    6 projects | news.ycombinator.com | 20 Mar 2023
  • 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
  • Show HN: Outerbase Studio – Open-Source Database GUI

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

Did you know that Rust is
the 5th most popular programming language
based on number of references?