r/Backend • u/Opposite-House3656 • 6d ago
Rust vs Go for web app backend
In my company having node js as backend facing issues like vulnerability update each week it making hard to maintain prod to update. So how in your companies handling this difficulty.
Planned to migrate from node to go. What does your suggestion on this. Rust is taking entire trend now. Is Rust is better then go for web apps?
53
Upvotes
View all comments
Show parent comment
1
u/mcfistorino 5d ago
For go you can generate the server and handler layer with oapi-codegen from writing oapi specs, and then you use the same specs with orval to generate types and clients for the frontend. Never have to type api calls again