• A Simple Web App in Rust, Conclusion: Putting Rust Aside for Now
  • Joel’s Journal
  • The Nuggets translation Project
  • Permanent link to this article: github.com/xitu/gold-m…
  • Translator: mysterytony
  • Proofreader: PTHTC

A summary of developing a simple Web application with Rust: Forget Rust for now

Warning: This article is full of opinions. While the Rust community may not be shocked, I wanted to list this list.

Years ago, I edited a series of blogs titled Building a Simple Webapp in Rust. I’d like to start editing again one day, but I don’t, and I doubt I’ll even be able to finish the series — almost everything in that blog is outdated now.

But it’s important to note that the project was a success because I learned a lot about Rust.

I eventually stopped working on the project and learning Rust. Why is that? In short, I’m starting to wonder if Rust is worth enough to me compared to other areas of the Internet. It is clear to me that Rust is a great language to use when you need tight control over hardware and performance. Given a project with these requirements, I would definitely go back to Rust. When I have to choose between Rust and C++, I choose Rust.

However, hardware management is usually not a very important factor in most software I’ve written. I’ve never written C++, either, because of the tradeoff between development time and simplicity versus maintainability. Performance problems can almost always wait until the software works properly, for example through some performance testing and clever optimizations.

One of the things that motivates me to continue studying Rust is that some people have said that Rust is the most efficient language for them, as well as the most efficient language for programmers in general. The reason is that the Ownership mechanism of Rust makes them think more about code and significantly improve the design in some aspects. But that’s not reason enough for me to spend too much time with Rust. I’d rather spend my time on other things.

All in all, I decided it would be better to learn something else. In particular, Haskell (originally a variant of Elm) and other languages that have a significant impact on the system.

Series: Simple web pages made with Rust

  • Part 1
  • Part 2 a
  • Part 2 b
  • Part 3
  • Part 4
  • conclusion

The Nuggets Translation Project is a community that translates quality Internet technical articles from English sharing articles on nuggets. The content covers Android, iOS, front-end, back-end, blockchain, products, design, artificial intelligence and other fields. If you want to see more high-quality translation, please continue to pay attention to the Translation plan of Digging Gold, the official Weibo, Zhihu column.