Rust vs Go: Which is better for my database-driven website backend?

Hey everyone! I’m working on a movie and anime rating website with a friend. We’re using PostgreSQL for our database, but we’re stuck on picking a language for the backend. We’re thinking about Rust or Go.

We know Python, but we really want to learn one of these two languages. The website will be similar to IMDb or MyAnimeList. We’re looking for advice on which one might be better suited for this kind of project.

Has anyone used Rust or Go for a similar website? What are the pros and cons of each for this type of backend? We’re total newbies with both languages, so any tips or experiences would be super helpful!

Thanks in advance for your input!

go’s probably ur best bet for a db-driven site. its simpler syntax and built-in concurrency are perfect for handling lots of db queries. rust is awesome but might be overkill here. go’s also got a ton of web frameworks that’ll make ur life easier. plus, the learning curve isn’t as steep as rust’s. good luck with ur project!

For a database-driven website backend like your movie and anime rating site, Go might be the more suitable choice. Its simplicity and excellent standard library make it ideal for web development, especially when working with databases. Go’s goroutines and channels provide efficient concurrency, which is crucial for handling multiple user requests simultaneously. Additionally, Go’s garbage collection simplifies memory management, allowing you to focus on building features rather than dealing with low-level details. While Rust offers unparalleled performance and safety, its steep learning curve might slow down your development process, particularly if you’re new to systems programming. Go’s faster compilation times and easier deployment also contribute to a smoother development experience for web applications.

hey there! both rust and go are awesome choices for backend development. have you considered the learning curve for each? rust can be a bit trickier to pick up, but its performance is stellar. go might be easier to start with and has great concurrency support. what’s your timeline for the project? that could influence your decision too. any thoughts on scalability needs?