The approach with Neon is interesting. I've been using apex to package up my Rust binary, which is invoked from a node handler.
I've been using the lambda image to build my Rust binary and then node takes care of calling it. As I understand it, there is overhead to call the Rust code from node, but once the function is warmed, that overhead is dramatically reduced.
As far as WASM goes, I'm not sure if lambda supports it or not. But to me, WASM seems to be more front-end focused and lambda doesn't appear to be the best fit for it. Instead, I would use WASM for any front-end stuff and straight Rust for the back-end. I feel this way mostly because of Rust's strengths, like strong static typing and memory safety.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
The approach with Neon is interesting. I've been using apex to package up my Rust binary, which is invoked from a node handler.
I've been using the lambda image to build my Rust binary and then node takes care of calling it. As I understand it, there is overhead to call the Rust code from node, but once the function is warmed, that overhead is dramatically reduced.
As far as WASM goes, I'm not sure if lambda supports it or not. But to me, WASM seems to be more front-end focused and lambda doesn't appear to be the best fit for it. Instead, I would use WASM for any front-end stuff and straight Rust for the back-end. I feel this way mostly because of Rust's strengths, like strong static typing and memory safety.