Skip to content

Commit 67fa785

Browse files
authored
Update SharedEverythingDynamicLinking.md (#227)
typos
1 parent 07479f0 commit 67fa785

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

design/mvp/examples/SharedEverythingDynamicLinking.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,21 +4,21 @@
44
out of multiple Core WebAssembly modules so that common modules can be shared
55
with other components. This provides an alternative to *static linking* which
66
forces common code to be copied into each component. This type of linking
7-
should be able to leverage of existing support for native dynamic linking (of
8-
`.dll`s or `.so`s) which a single shared linear memory (hence
7+
should be able to leverage off existing support for native dynamic linking (of
8+
`.dll`s or `.so`s) with a single shared linear memory (hence
99
*shared-everything* dynamic linking).
1010

1111
Shared-everything dynamic linking should be *complementary* to the
1212
shared-nothing dynamic linking of components described in the
1313
[explainer](../Explainer.md). In particular, dynamically-linked modules must not
1414
share linear memory across component instance boundaries. For example, we want
1515
the static dependency graph on the left to produce the runtime instance graph
16-
on the right: create the runtime instance graph on the right:
16+
on the right:
1717

1818
<p align="center"><img src="./images/shared-everything-dynamic-linking.svg" width="600"></p>
1919

2020
Here, `libc` defines and exports a linear memory that is imported by the other
21-
moudle instances contained within the same component instance. Thus, at
21+
module instances contained within the same component instance. Thus, at
2222
runtime, the composite application creates *three* instances of the `libc`
2323
module (creating *three* linear memories) yet contains only *one* copy of the
2424
`libc` code. This use case is tricky to implement in many module systems where

0 commit comments

Comments
 (0)