Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More parity with other languages #47

Closed
sandstrom opened this issue Apr 26, 2021 · 5 comments
Closed

More parity with other languages #47

sandstrom opened this issue Apr 26, 2021 · 5 comments
Assignees
Labels
🎉 enhancement New feature or request

Comments

@sandstrom
Copy link

sandstrom commented Apr 26, 2021

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.

image

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).

@sandstrom sandstrom added the 🎉 enhancement New feature or request label Apr 26, 2021
@Hywan
Copy link
Contributor

Hywan commented Apr 26, 2021

Yup, it's in my agenda to rewrite this extension as it's been done for Python, Go and PHP!

@Hywan Hywan self-assigned this Apr 26, 2021
@sandstrom
Copy link
Author

@Hywan Awesome! 😄

@Hywan
Copy link
Contributor

Hywan commented May 11, 2021

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.

@Hywan
Copy link
Contributor

Hywan commented May 11, 2021

Closing in favor of https://github.com/wasmerio/docs.wasmer.io/pull/119.

@Hywan Hywan closed this as completed May 11, 2021
@sandstrom
Copy link
Author

sandstrom commented May 11, 2021

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🎉 enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants