Closed sandstrom closed 3 years ago
Yup, it's in my agenda to rewrite this extension as it's been done for Python, Go and PHP!
@Hywan Awesome! 😄
The project has been fully rewritten in #48. I'm updating the documentation right now, but if you check #48 you will see the project is now on-par with wasmer-python
, wasmer-go
, wasmer-php
and wasmer
itself.
Closing in favor of https://github.com/wasmerio/docs.wasmer.io/pull/119.
Awesome @Hywan !! 🎉
(this is a long question, so I understand if you don't have time to answer)
Shopify published a post a few months ago, about how they're using WASM in a sandbox to evaluate foreign code in their ruby app.
https://shopify.engineering/shopify-webassembly
Would you say that wasmer.io is a good alternative tool for something similar to what they describe in that post? (they're using Lucet/Cranelift)
It seems like the ruby sdk/client is still a bit behind the other languages. Would be awesome if more functionality was supported, for example terminate in host call, serialization and exposing host (imported) functions.
Source: https://docs.wasmer.io/ecosystem/wasmer/wasmer-features#language-embeddings
For our use case, we'd like to pass in a bunch of data from the host (e.g. JSON like data), pass in a bunch of functions, accessible to the WASM-code, and then call the function exposed by WASM (with ability to abort/terminate from host).