September 23rd, 2024

One Year of Rust in Production

Dmitry Kudryavtsev reflects on a year using Rust in his project JustFax, praising its type safety, stability, and tooling, while noting challenges with compile times and frontend prototyping.

Read original articleLink Icon
One Year of Rust in Production

Dmitry Kudryavtsev reflects on his first year using Rust in production, particularly in his side project, JustFax. Initially, he migrated from LemonSqueezy to Stripe, which unexpectedly expanded into a significant refactor involving job processing and accounting systems, all implemented in Rust. He emphasizes the advantages of Rust's type safety and compile-time checks, which prevent many common errors found in dynamic languages like JavaScript. Kudryavtsev appreciates the stability of Rust applications, noting he has never experienced a crash, unlike with Node.js. He highlights the efficiency of Rust's tooling, which contrasts with the frequent changes in TypeScript environments. However, he acknowledges the challenges of Rust's longer compile times, especially with complex projects, and the need for a more structured development cycle. While he finds Rust excellent for backend development, he notes that it is less suited for rapid frontend prototyping. Overall, Kudryavtsev expresses satisfaction with his choice of Rust, attributing it to improved software quality and job security.

- Dmitry Kudryavtsev has spent a year using Rust in production for his project JustFax.

- Rust's type safety and compile-time checks help prevent common coding errors.

- Kudryavtsev has not experienced any crashes in Rust applications, contrasting with his experience in Node.js.

- He finds Rust's tooling more stable than that of TypeScript, despite longer compile times.

- Rust is better suited for backend development than for rapid frontend prototyping.

Link Icon 3 comments
By @gnabgib - 4 months
Discussion (17 points, 15 hours ago, 7 comments) https://news.ycombinator.com/item?id=41616063