What's the memory space of host function, Is this a workable way to implement zero copy? #3104
Unanswered
ActivePeter
asked this question in
Q&A
Replies: 2 comments 2 replies
-
You can perform unrestricted actions within the host function, as it is not confined to the sandbox environment. This allows you to implement your own memory management system. |
Beta Was this translation helpful? Give feedback.
2 replies
-
How to get vec result from host? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I want to implement zero copy by offer host functions to wasm functions. The basic idea is as follows:
But this idea is based on the hypothesis that host function is running out of vm, then the allocation is out of vm, so the outer system will not need to copy vm memories to outer memory.
Beta Was this translation helpful? Give feedback.
All reactions