DEV Community

Discussion on: Build a REST API with Rust and MongoDB - Actix web Version

Collapse
 
codewander profile image
codewander

I expect to see more people start to use rust + postgres + an ORM, when they want something with a richer type system or more functional idioms than go, python, or node/ts. Do you think that emerge and possibly reach fourth place over ruby for web dev?

Collapse
 
malomz profile image
Demola Malomo

Well, rust is relatively new to the ecosystem as compared to others. Hopefully, it becomes mainstream! :)

Collapse
 
rustaceanx profile image
rustaceanX

hi there, just wanna collection ppl opinion but could I ask why you choose Postgres over Mongodb when stack with Rust or actix-web for more specific? TIA

Collapse
 
codewander profile image
codewander

As I understand, postgres will be easier to implement a wide variety of queries, while mongo will help keep inserts fast, so having more flexibility with queries may be a good default.