|
|
|
|
|
by callahad
879 days ago
|
|
For folks looking to learn more, the Component Model documentation is pretty good! I like this excerpt for explaining the core vs component split: > components interact only through the Canonical ABI. Specifically, unlike core modules, components may not export Wasm memory. This not only reinforces sandboxing, but enables interoperation between languages that make different assumptions about memory - for example, allowing a component that relies on Wasm GC (garbage collected) memory to collaborate with one that uses conventional linear memory. Link: https://component-model.bytecodealliance.org/design/why-comp... |
|
...for instance how do you share large amounts of data between components then, there must be some sort of cheap way to safely share portions of memory between components right? Because there are situations where multiple copy steps are simply out of question.