-
Notifications
You must be signed in to change notification settings - Fork 79
Clarify more concisely how concepts relate to each other #64
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
Merged
vados-cosmonic
merged 6 commits into
bytecodealliance:main
from
itowlson:compare-concepts
May 21, 2025
Merged
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
160ebed
refactor: add overview to introduction
vados-cosmonic 1e1955d
fix: phrasing for released versions in intro
vados-cosmonic be9909d
refactor: create new component model concepts section
vados-cosmonic b068643
fix: capitalization
vados-cosmonic ed068e9
fix: version tag
vados-cosmonic c188b9f
fix: wasi dev link
vados-cosmonic File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,30 @@ | ||
| ## Component Model Concepts | ||
|
|
||
| This section introduces the core concepts and [rationale](./why-component-model.md) of the component model. | ||
|
|
||
| * A [WebAssembly Component](./components.md) is the next evolution of core WebAssembly binaries. | ||
| * WebAssembly components are *nestable* -- they may contain one or more core modules and/or sub-components composed together. | ||
| * The Component Model extends core WebAssembly by introducing higher level types and interface-driven development | ||
| * [WebAssembly Interface Types (WIT)][wit] is the [IDL (Interface Definition Language)][wiki-idl] used to formally define functionality for WebAssembly modules. | ||
| * With WIT, WebAssembly components gain the ability to conform an language-agnostic and encode that support, so any WebAssembly component binary can be interrogated *and* executed. | ||
| * An [Interface](./interfaces.md) describes the types and functions used for a specific, focused bit of functionality. | ||
| * A [World](./worlds.md) assembles interfaces to express what features a component offers, and what features it depends on. | ||
| * A [Package](./packages.md) is a set of WIT files containing a related set of interfaces and worlds. | ||
| * The Component Model introduces the idea of a "platform" to core WebAssembly -- enabling the structured, standardized use of "host" functionality for WebAssembly "guest"s. | ||
| * The WebAssembly System Interface (WASI) defines in WIT a family of interfaces for common system-level functions. | ||
| * WASI defines common execution environments such as the command line (`wasi:cli`) or a HTTP server (`wasi:http`). | ||
| * The Component Model introducs makes core WebAssembly composable -- components that provide functionality and those that use them can be composed together into *one* resulting component | ||
|
|
||
| > [!NOTE] | ||
| > The Component Model is stewarded by the Bytecode Alliance and designed [in the open][cm-repo]. | ||
| > | ||
| > See the [`WebAssembly/component-model`][cm-repo] repository for [Goals][goals],[use cases][use-cases], and [high level design choices][design-choices]. | ||
|
|
||
| [cm-repo]: https://github.com/WebAssembly/component-model | ||
| [wiki-idl]: https://en.wikipedia.org/wiki/Web_IDL | ||
| [goals]: https://github.com/WebAssembly/component-model/blob/main/design/high-level/Goals.md | ||
| [use-cases]: https://github.com/WebAssembly/component-model/blob/main/design/high-level/UseCases.md | ||
| [design-choices]: https://github.com/WebAssembly/component-model/blob/main/design/high-level/Choices.md | ||
| [wit]: https://github.com/WebAssembly/component-model/blob/main/design/mvp/WIT.md | ||
|
|
||
| [!NOTE]: # |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.