DEV Community

Discussion on: Go Vs Rust what to choose next for web API development

Collapse
 
rslak profile image
rslak • Edited

I assume you have a UI with SPA like react or angular. For the backend if you are already using Flask or Django, you could continue. If you need pure backend APIs I would avoid Django but stick to micro framework like Flask as it is minimal and does its job well. I have used it in Production under Gunicorn. Flask Works fine. If your business logic is more of a CRUD on a database, any framework is fine. But if you have too much of computations on your business logic in your application layer, then I would rethink on using languages like Rust (Rocket). Otherwise Java, .NET, Python frameworks work fine. Nodejs is also capable and can scale better as long as you don't block CPU cycles