From 88963e74c98febac5d522ccac5593333b12a71e1 Mon Sep 17 00:00:00 2001 From: lucshi <50089527+lucshi@users.noreply.github.com> Date: Fri, 17 May 2019 19:14:16 +0800 Subject: [PATCH 1/4] Update README.md --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 4f3f292be..cf539c53e 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ WebAssembly Micro Runtime WebAssembly Micro Runtime (WAMR) is a standalone WebAssembly (WASM) runtime designed for a small footprint. It includes: - A WebAssembly (WASM) VM core - The supporting APIs for the WASM applications (code is available but compilation depends on the app manager component) -- A mechanism for dynamic management of the WASM application (Not available on Github yet. To be released soon) +- A mechanism for dynamic management of the WASM application Why should you use a WASM runtime out of your browser? There are a few points where this might be meaningful: 1. WASM is already an LLVM official backend target. That means WASM can run any programming languages which can be compiled to LLVM IR. It is a huge advantage compared to language bound runtimes like JS or Lua. @@ -11,7 +11,7 @@ Why should you use a WASM runtime out of your browser? There are a few points wh 3. WASM is designed to be very friendly for compiling to native binaries and gaining the native speed. 4. It can potentially change the development practices. Imagine we can do both the WASM application development and validation in a browser, then just download the WASM binary code onto the target device. 5. WASM can work without garbage collection. It is designed to support execution determinics for the time sensitive requirement. -6. Maintain the safety goals WASM has of providing a sandboxed execution environment for untrusted code. In addition, because WASM is a compilation target, this implies a benefit of being able to target both an execution and security profile that is consistent across popular high-level programming languages. +6. Maintain the safety goals WASM has of providing a sandboxed execution environment for untrusted code. In addition, because WASM is a compilation target, this implies the benefit of being able to target both an execution and security profile that is consistent across popular high-level programming languages. @@ -484,7 +484,7 @@ In this sample, the LittlevGL source code is built into the WebAssembly code wit EXPORT_WASM_API(display_map), EXPORT_WASM_API(time_get_ms), }; -The runtime component supports building target for Linux and Zephyr/STM Nucleo board respectively. The beauty of this sample is the WebAssembly application can have identical display and behavior when running from both runtime environments. That implies we can do majority of application validation from desktop environment then load it to the target device as long as two runtime distributions support the same set of application interface. +The runtime component supports building target for Linux and Zephyr/STM Nucleo board respectively. The beauty of this sample is the WebAssembly application can have identical display and behavior when running from both runtime environments. That implies we can do the majority of application validation from the desktop environment then load it to the target device as long as two runtime distributions support the same set of the application interface. Below pictures show the WASM application is running on an STM board with an LCD touch panel. When users click the blue button, the WASM application increases the counter, and the latest counter value is displayed on the top banner of the touch panel. From 13111221ca6396da36bddb457aa6b42c3eb60565 Mon Sep 17 00:00:00 2001 From: lucshi <50089527+lucshi@users.noreply.github.com> Date: Fri, 17 May 2019 20:43:28 +0800 Subject: [PATCH 2/4] Update README.md --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index cf539c53e..6077c5332 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ WebAssembly Micro Runtime ========================= WebAssembly Micro Runtime (WAMR) is a standalone WebAssembly (WASM) runtime designed for a small footprint. It includes: - A WebAssembly (WASM) VM core -- The supporting APIs for the WASM applications (code is available but compilation depends on the app manager component) +- The supporting APIs for the WASM applications - A mechanism for dynamic management of the WASM application Why should you use a WASM runtime out of your browser? There are a few points where this might be meaningful: @@ -65,7 +65,7 @@ make ``` Zephyr ------------------------- -You need to download the Zephyr source code first and embedded WAMR into it. +You need to download the Zephyr source code first and embed WAMR into it. ``` Bash git clone https://github.com/zephyrproject-rtos/zephyr.git cd zephyr/samples/ @@ -88,7 +88,7 @@ git clone https://github.com/emscripten-core/emsdk.git emsdk install latest emsdk activate latest ``` -add ```./emsdk_env.sh``` into the path to ease future use, or source it every time. +source ```./emsdk_env.sh```. The Emscripten website provides other installation methods beyond Linux. You can write a simple ```test.c``` as the first sample. From 33c6b12f888cde867e3cc313d13281afa6202fa5 Mon Sep 17 00:00:00 2001 From: wenyongh Date: Fri, 17 May 2019 20:58:57 +0800 Subject: [PATCH 3/4] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 6077c5332..4ba327e8b 100644 --- a/README.md +++ b/README.md @@ -149,7 +149,7 @@ WAMR can be built into a standalone executable which takes the WASM application -A typical WAMR API usage is shown below (some return values checking are ignored): +A typical WAMR API usage is shown below (some return value checks are ignored): ``` C static char global_heap_buf[512 * 1024]; From 9da47ed84c2ae61aa02b283592729d5ca319a4fa Mon Sep 17 00:00:00 2001 From: Wang Xin Date: Sat, 18 May 2019 08:39:12 -0700 Subject: [PATCH 4/4] Update README.md --- README.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 4ba327e8b..5f6188a00 100644 --- a/README.md +++ b/README.md @@ -496,6 +496,9 @@ The sample also provides the native Linux version of application without the run -Submit issues and request -========================= +Submit issues and contact the maintainers +========================================= [Click here to submit. Your feedback is always welcome!](https://github.com/intel/wasm-micro-runtime/issues/new) + + +Contact the maintainers: imrt-public@intel.com