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

feat: Update wasm::Module to enable wasm component model #121

Merged
merged 9 commits into from
Feb 8, 2024

Conversation

Mr-Leshiy
Copy link
Contributor

@Mr-Leshiy Mr-Leshiy commented Feb 8, 2024

Description

Updated current wasm::Module implementation to be aligned with the WASM component model design

Related Issue(s)

Part of #79

Description of Changes

  • added event::HermesEventPayload trait as a Hermes event abstraction.
  • updated wasm::Module implementation. Made it a WASM component centric. wasm::Module incapsulates the logic around "How to load wasm module", "How to prepare a WASM environment for every execution of the wasm module. Also wasm::Module does not responsible and does not answering the question "How to execute wasm function", this functionality is generalised with the help of wasm::module::Instance trait and event::HermesEventPayload trait.

@Mr-Leshiy Mr-Leshiy self-assigned this Feb 8, 2024
@Mr-Leshiy Mr-Leshiy added the review me PR is ready for review label Feb 8, 2024
@minikin minikin enabled auto-merge (squash) February 8, 2024 13:51
Copy link
Contributor

@saibatizoku saibatizoku left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@minikin minikin merged commit 8258443 into main Feb 8, 2024
20 checks passed
@minikin minikin deleted the feat/hermes-executor branch February 8, 2024 14:38
@stevenj stevenj restored the feat/hermes-executor branch February 8, 2024 15:03
stevenj added a commit that referenced this pull request Feb 8, 2024
stevenj added a commit that referenced this pull request Feb 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
review me PR is ready for review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants