aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJF Bastien <github@jfbastien.com>2015-06-11 10:02:56 +0200
committerJF Bastien <github@jfbastien.com>2015-06-11 10:02:56 +0200
commiteca74686db71c76ea9f9cb6f4bb6d1b896388759 (patch)
tree4202f45ad3cf4c64593becff54cedce01ba968fb
parentfa8f5f3aa8dcbb5cdbd1cfcab74fd9b0f0f758a0 (diff)
parent2decb7c5e952d07f1b60a658e7972df09a821078 (diff)
downloadnanowasm-design-eca74686db71c76ea9f9cb6f4bb6d1b896388759.tar.gz
Merge pull request #142 from WebAssembly/web-nonweb
Wordsmith Web.md and NonWeb.md.
-rw-r--r--NonWeb.md14
-rw-r--r--Web.md10
2 files changed, 14 insertions, 10 deletions
diff --git a/NonWeb.md b/NonWeb.md
index f549be6..651ff56 100644
--- a/NonWeb.md
+++ b/NonWeb.md
@@ -1,17 +1,19 @@
# Non-Browser Embeddings
-WebAssembly is designed to run primarily [within a browser](Web.md). It is
-nonetheless desirable to be able to execute it inside standalone shells for
-testing and as a host environment for untrusted code (e.g. in a datacenter). It
-may even be desirable to execute WebAssembly embedded within larger programs.
+While WebAssembly is designed to run [within a browser](Web.md), it is
+also desirable for it to be able to execute well in other environments,
+including everything from minimal shells for testing to full-blown
+application environments e.g. on servers in datacenters. It may even be
+desirable to execute WebAssembly embedded within larger programs.
-Non-browser environments may have access to different APIs, which
+Non-browser environments may provide different APIs than Web
+environments, which
[feature testing](FeatureTest.md) and
[dynamic linking](FutureFeatures.md#dynamic-linking) will make discoverable and
usable.
Where there is overlap between the browser and popular non-browser environments,
-a shared spec could be proposed, but this would be separate from the WebAssembly
+shared specs could be proposed, but this would be separate from the WebAssembly
spec. A symmetric example in JavaScript would be the
[Loader](http://whatwg.github.io/loader) spec, intended to be implemented by
both browsers and node.js. This situation is expected to be first encountered
diff --git a/Web.md b/Web.md
index 3b989dd..ac24b21 100644
--- a/Web.md
+++ b/Web.md
@@ -1,10 +1,12 @@
# Browser Embedding
-WebAssembly's [Minimum Viable Product](MVP.md) explicitly targets browser
-embeddings, and treats WebAssembly as an integral part of the Web platform.
+Unsurprisingly, one of WebAssembly's primary purposes is to run on the Web,
+embedded in Web browsers (though this is [not its only purpose](NonWeb.md)).
-A key part of operating on the Web is supporting
-[feature testing](FeatureTest.md).
+This means integrating with the Web ecosystem, leveraging Web APIs, supporting
+the Web's security model, preserving the Web's portability, and designing in
+room for evolutionary development. Many of these goals are clearly
+reflected in WebAssembly's [high-level goals](HighLevelGoals.md).
# Implementation Details