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 [try 2] #123

Merged
merged 22 commits into from Feb 13, 2024

Conversation

Mr-Leshiy
Copy link
Contributor

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 marked this pull request as ready for review February 9, 2024 12:34
@Mr-Leshiy Mr-Leshiy added review me PR is ready for review do not merge yet PR is not ready to be merged yet labels Feb 9, 2024
@Mr-Leshiy Mr-Leshiy self-assigned this Feb 9, 2024
@Mr-Leshiy Mr-Leshiy mentioned this pull request Feb 13, 2024
8 tasks
Copy link
Collaborator

@stevenj stevenj left a comment

Choose a reason for hiding this comment

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

Looks great, nice job.

@Mr-Leshiy Mr-Leshiy merged commit 1fdb165 into main Feb 13, 2024
20 checks passed
@Mr-Leshiy Mr-Leshiy deleted the feat/hermes-executor branch February 13, 2024 16:00
@stevenj stevenj mentioned this pull request Mar 6, 2024
8 tasks
@bkioshn bkioshn mentioned this pull request Mar 20, 2024
8 tasks
This was referenced Mar 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
do not merge yet PR is not ready to be merged yet review me PR is ready for review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants