DEV Community

Discussion on: What are your biggest obstacles/questions for moving from NodeJS to Rust?

Collapse
softprops profile image
Doug Tangren

You might find that's the wrong starter question to be asking as times change. Keeping serverless approaches to graphql applications in mind, you may want to first consider asking "do I even need a webserver?"

Once you have a firm belief you actually do need a server then ask the question "which one?"

Collapse
yann_yinn profile image
Yann • Edited on

What serverless solution would you advise to create a GraphQL API with Rust ?

Thread Thread
softprops profile image
Doug Tangren

I might take a look at aws.amazon.com/appsync/ which allows you to bind resolvers directly to your data sources or if needed a lambda. If you are coming from nodejs, you might be familiar with serverless framework. There is a serverless plugin that makes it possible to deploy lambdas written in rust - github.com/softprops/serverless-rust

Thread Thread
yann_yinn profile image
Yann

Fun stuff, will sure take a look at the rust plugin. Did you tried it yourself ?

Thread Thread
softprops profile image
Doug Tangren

I maintain it :)