File tree Expand file tree Collapse file tree
component-model/src/design Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# Why the Component Model?
22
33At a high level, the component model builds upon WebAssembly _ core modules_
4- to enhance interoperability between languages and libraries, both by enriching the type system
4+ to enhance interoperability between languages and libraries,
5+ both by enriching the type system
56used for checking the safety of interactions between modules,
6- and by clearly defining and enforcing the low-level calling contract between separately-compiled modules.
7+ and by clearly defining and enforcing
8+ the low-level calling contract between separately-compiled modules.
79To understand what the limitations of core modules are,
810we start by defining them.
911
@@ -152,6 +154,9 @@ Interfaces are expressed in a separate language called [WebAssembly Interface Ty
152154and type signatures for [ _ functions_ ] ( ./wit.md#functions ) .
153155The bit-level representations of types are specified by
154156the [ Canonical ABI (Application Binary Interface)] ( ./../advanced/canonical-abi.md ) .
157+ Together, interfaces and the Canonical ABI
158+ achieve the goal of clearly defining and enforcing
159+ the low-level calling contract between modules.
155160
156161### Interoperability
157162
You can’t perform that action at this time.
0 commit comments