Daily Shaarli

All links of one day in a single page.

June 19, 2023

Why use Rust on the backend?

He basically says that his startup prioritizes developer productivity over performance.

Even if performance is not a reason to use Rust, the author provides some more:

  1. If you know the tech already :)
  2. Your service interoperates with services that are perf-critical or can be supported in the future
  3. The Serde library is awesome. Check the doc and use cases.
  4. It is not amazing with databases but it's very good. Diesel deserves a plus-one: it generates all your SQL queries for you, from a typed SQL schema that it generates from your SQL migrations. It is then similar to the feature of Prisma. It is not perfect though, because of error messages: it makes no sense, or are 60 lines long or difficult to factor out common code.
  5. It has better modeling of the business domain: enums and unclonable types.
  6. Reliability: we already know it.
Transiscope

Un projet de cartographie pour référencer les alternatives écologiques (maraîchers, vélo, etc...)

A Very Wobbly Liquid SVG Button ✨