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 @@ -38,6 +38,11 @@ Kinds of definitions include:
3838 for the complete list.
3939
4040A core module usually corresponds to a single binary ` .wasm ` file.
41+ Here's what the ` file ` command outputs for a sample ` .wasm ` file:
42+ ``` console
43+ $ file adder.wasm
44+ adder.wasm: WebAssembly (wasm) binary module version 0x1 (MVP)
45+ ```
4146These modules can be run in the browser,
4247or via a separate runtime such as [ Wasmtime] ( https://wasmtime.dev/ )
4348or [ WAMR] ( https://github.com/bytecodealliance/wasm-micro-runtime ) .
@@ -119,11 +124,11 @@ and cross-language interoperability.
119124Conceptually, a component is a module that is restricted
120125to interact only through its imported and exported functions.
121126Compared to core modules, components also use a richer
122- mechanism for expressing the types of functions.
127+ mechanism for expressing the types of functions: _ interfaces _ .
123128
124129### Interfaces
125130
126- These interfaces are expressed in a separate language called [ WIT (Wasm Interface Type)] ( ./wit.md ) .
131+ Interfaces are expressed in a separate language called [ WIT (Wasm Interface Type)] ( ./wit.md ) .
127132[ Interfaces] ( ./wit.md#interfaces ) contain definitions of _ types_
128133and type signatures for [ _ functions_ ] ( ./wit.md#functions ) .
129134The bit-level representations of types are specified by
You can’t perform that action at this time.
0 commit comments