streamnative / function-mesh

The serverless framework purpose-built for event streaming applications.
https://functionmesh.io/
Apache License 2.0
211 stars 27 forks source link

[Feature] Support Rust & WebAssembly Runtime #38

Open sijie opened 3 years ago

sijie commented 3 years ago

Motivation

Current the approach to support different language functions is not a scalable approach. We should be looking into using WebAssembly to standardize the function interfaces and implement one runtime (either using Go, Rust, and Javascript).

javiramos1 commented 1 year ago

Hi, is there any plans to implements this or at least in the meantime add support to Rust without WebAssembly? Thank you!

hpvd commented 3 months ago

maybe using the kwasm operator may help to run functions as wasm binaries: https://github.com/KWasm/kwasm-operator

hpvd commented 3 months ago

btw there are 2 up-to-date video sources on kwasm:

overview: https://www.youtube.com/watch?v=d51lFnAR-Z0 review: https://www.youtube.com/watch?v=oY9le4DDAOY

hpvd commented 3 months ago

kwasm is a part of https://www.spinkube.dev/

here is an intro: https://www.cncf.io/online-programs/cloud-native-live-introducing-spinkube/

freeznet commented 3 months ago

@hpvd StreamNative Cloud already has wasm support with a private preview, see https://docs.streamnative.io/docs/function-develop-wasm if you are interested.