-
Notifications
You must be signed in to change notification settings - Fork 671
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
Support importing memory & table #1168
Comments
Currently, We prefer the below strategies for safety:
|
@lum1n0us Can you clarify your answer? I also need to import the table and memory from a different module in an instantiation of a different module. Is there a way to achieve this? Will there ever be one? Thanks! |
Unfortunately, there is no way to achieve that for now. Every module has to stick with its own table and memory for now in WAMR. |
@lum1n0us |
WAMR actually doesn't want host functions linking "host-made" tables and memories. Worries of growing are related to WAMR memory model. WAMR will help .wasm modules to save their memory consumption and might have a few differences with the linear memory in users' minds. |
@lum1n0us In my case, my memory and table isn’t host-made. They’re simply imported from another module. |
That is the point. As a runtime, it can't tell an imported memory or table(in |
i'm not sure if i understand the "safety" argument. |
May I ask if this is supported now? If not, how do we claim that WAMR is '- Full compliant to the W3C Wasm MVP' in README? |
Does this project have any plan to implement supports for importing memories and tables when instantiating a WebAssembly Instance?
Besides, any plan to implement the
grow
method of memories and tables?The text was updated successfully, but these errors were encountered: