Skip to content

Commit 7b5b9b4

Browse files
authored
Update source/news/2024/wasm-component-model-part-1.rst
1 parent b5bcdf2 commit 7b5b9b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/news/2024/wasm-component-model-part-1.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ As we are creating Wasm components for server-side runtimes, we cannot target br
4545

4646
The code we write can be compiled into an executable binary file. After launching it, we will see "Hello World" printed on the command line. The magic behind this is a standard called POSIX, which defines system calls. System calls work differently on different operating systems.
4747

48-
WASI provides an abstraction layer for those syscalls, that can be targeted from the Code that will be compiled to Wasm.
48+
WASI provides an abstraction layer for those syscalls, that can be targeted from the code that will be compiled to Wasm.
4949
A WASI compatible runtime will be able to handle the execution of that code. We see this in action in our `Rust tutorial </news/2024/wasm-component-model-part-2>`__ further in part 2 of this blog series. Since Preview2 of the WASI proposal - `the WASI-APIs are defined in WIT-files <https://bytecodealliance.org/articles/webassembly-the-updated-roadmap-for-developers#webassembly-system-interface-wasi>`__.
5050

5151
WIT (Wasm Interface Types) is a descriptive `interface description language (IDL) <https://en.wikipedia.org/wiki/IDL_(programming_language)>`__ to define interfaces. It isn't a general-purpose coding language. The written WIT files don't contain any business logic; they are pure definitions of contracts. Multiple interfaces can be further combined into worlds. While it is not required to deeply understand the way you can create your own WIT-files, it will help to track down issues or trouble-shoot them while building components. To learn more about the WIT programming language, see the official `documentation. <https://component-model.bytecodealliance.org/design/wit.html#structure-of-a-wit-file>`__

0 commit comments

Comments
 (0)