Skip to content

Commit

Permalink
Add a HighLevelGoals.md document.
Browse files Browse the repository at this point in the history
  • Loading branch information
sunfishcode committed Apr 16, 2019
1 parent 3991c0e commit 549270e
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions docs/HighLevelGoals.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# WASI High-Level Goals

(In the spirit of [WebAssembly's High-Level Goals](https://github.com/WebAssembly/design/blob/master/HighLevelGoals.md).)

1. Define a portable, modular, runtime-independent, and WebAssembly-native API
to serve as a system interface which can be used by WebAssembly code to
interact with the outside world, that preserves the essential sandboxed
nature of WebAssembly through a [Capability-based] API design.
2. Specify and implement incrementally:
* Start with a Minimum Viable Product (MVP) for the standard, covering I/O
streams, filesystems, randomness, clocks, and program startup and
shutdown.
* Then add additional features, prioritized by feedback and experience.
3. Supplement API designs with documentation and tests, and, when feasible,
reference implementations which can be shared between wasm engines.
4. Make a great platform:
* Work with WebAssembly tool and library authors to help them provide
WASI support for their users.
* When being WebAssembly-native means the platform isn't directly
compatible with existing applications written for other platforms,
build tools and libraries to provide compatibility.
* Allow the overall API to evolve over time; to make changes to API
modules that have been standardized, build implementations of them
using libraries on top of new API modules to provide compatibility.

[Capability-based]: https://en.wikipedia.org/wiki/Capability-based_security

0 comments on commit 549270e

Please sign in to comment.