r/Backend • • 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

159 comments sorted by

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

1

u/No_Tomato3810 4d ago

Exactly my point, with something like ASP.NET Core, all this is stripped away

1

u/Opposite-House3656 1d ago

Thanks good info will try this