Using Rust at a startup: A cautionary tale

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

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • zero-to-production

    Code for "Zero To Production In Rust", a book on API development using Rust.

  • I will also push back on other commentors here saying Rust is not good for web apps and APIs, and I have found that to be the opposite of true. I read Zero To Production In Rust (a great book by the way, all about creating a web API with actix-web and Postgres) and deployed an API that has not gone down a single time since deploying near the beginning of this year. It's as ergonomic as (and sometimes even more so than) any NodeJS or Go API I've made (as even though Rust doesn't have function overloading, actix-web and others have some macro magic they do behind the scenes to make it appear as if it does), and there were very few times I had to contend with the borrow checker. If there had been and if I were really going for speed, I would also have cloned everywhere that was needed.

  • tracing

    Application level tracing for Rust.

  • Other than that, tracing is just like any other event logging system suitable for a production app: you get your application to ship your logs off somewhere else for analysis. So to get the most out of it you should use tracing with an outboard analysis tool that can show you these spans. Tracing's readme has a list of plugins for this stuff but some examples:

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • console

    a debugger for async rust! (by tokio-rs)

  • The tokio-console CLI is a fun one. The console-subscriber supports shipping to a console server running elsewhere, apparently. That gives you a window into what's happening now.

  • lean4

    Lean 4 programming language and theorem prover

  • That's a bit of an over-generalization. Ref counting has seen a re-surge lately, especially in FP languages like Roc, Koka, Lean 4 etc. Properly implemented it can compete with tracing GC's performance wise, and offer advantages like deterministic performance and resource de-allocation, no stop the world pauses, pure in-place mutation and seamless integration with C libraries (something Java is still struggling with).

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

  • The Wizardry Frontier

    2 projects | /r/rust | 10 Dec 2023
  • Looking to start a new community for people who want to use code for everything

    2 projects | /r/finality | 15 Aug 2023
  • The Fermat's Last Theorem Project

    2 projects | news.ycombinator.com | 1 May 2024
  • Angle-grinder: Slice and dice logs on the command line

    7 projects | news.ycombinator.com | 29 Apr 2024
  • Dafny is a verification-aware programming language

    4 projects | news.ycombinator.com | 23 Apr 2024