WebAssembly for Backend Process Development
Sisov, Danil (2023)
Sisov, Danil
2023
All rights reserved. This publication is copyrighted. You may download, display and print it for Your own personal use. Commercial use is prohibited.
Julkaisun pysyvä osoite on
https://urn.fi/URN:NBN:fi:amk-202305088218
https://urn.fi/URN:NBN:fi:amk-202305088218
Tiivistelmä
The purpose of this thesis was to investigate the fundamental features of Wasm, and its runtime environments called Wasmtime and Wasmedge. The case company for this thesis was Nokia, one of the leading telecommunications companies worldwide. A relatively new functional tool called WebAssembly (Wasm) makes it possible to execute code written in a variety of programming languages on the Web browser at native speed.
The thesis covered fundamental information and reasons why WebAssembly was released. In addition, this work focused on exploring two Wasm runtime environments, Wasmtime and Wasmedge. Also, the thesis covers the basic information of both runtimes and provides a practical use case for a client-server application with Wasm usage.
The outcome of this study demonstrates the potential of WebAssembly and its runtime environments for developing backend services at the beginning of the 2023 year. The findings indicate that this technology should be improved and cannot yet enable simple usage. Furthermore, there is relatively limited documentation and the information that is accessible is quite specific. Moreover, Wasm cannot be used out of the box and existing Rust, or C++ code should be changed to use libraries supported by Wasm.
The outcome of this thesis should help Nokia to understand the basic idea, usage, advantages, and disadvantages of Wasm. In the end, this work includes significant information in one place that is unique at this stage of WebAssembly development.
The thesis covered fundamental information and reasons why WebAssembly was released. In addition, this work focused on exploring two Wasm runtime environments, Wasmtime and Wasmedge. Also, the thesis covers the basic information of both runtimes and provides a practical use case for a client-server application with Wasm usage.
The outcome of this study demonstrates the potential of WebAssembly and its runtime environments for developing backend services at the beginning of the 2023 year. The findings indicate that this technology should be improved and cannot yet enable simple usage. Furthermore, there is relatively limited documentation and the information that is accessible is quite specific. Moreover, Wasm cannot be used out of the box and existing Rust, or C++ code should be changed to use libraries supported by Wasm.
The outcome of this thesis should help Nokia to understand the basic idea, usage, advantages, and disadvantages of Wasm. In the end, this work includes significant information in one place that is unique at this stage of WebAssembly development.