WebAssembly, Fourth Language in the Web
Niemelä, Vili-Petteri (2021)
Niemelä, Vili-Petteri
2021
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-2021111019642
https://urn.fi/URN:NBN:fi:amk-2021111019642
Tiivistelmä
JavaScript ei enää riitä raskaammissa tehtävissä verkossa. WebAssembly on uusi käännöskohde monille ohjelmointikielille, joka tuo tuo lähes natiivien sovellusten nopeuden selaimeen. WebAssembly-binäärejä voi käyttää monilla alustoilla. Selaimet olivat ensimmäinen kohde, mutta ajoympäristöinä toimii myös palvelimet ja jopa sulautetut laitteet.
Tämän työn on tarkoitus olla perusesittely WebAssemblystä. Tietoa kerättiin artikkeleista sekä videotallenteista aiheesta pidetyistä konferensseista.
Työssä tarkasteltiin WebAssemblyn käyttökohteita ja tulevaisuuden näkymiä. Käytiin myös läpi kyselytutkimus siitä miten ihmiset ovat käyttäneet WebAssemblyä ja millaisia mahdollisuuksia he näkivät siinä. Työssä tehtiin myös esimerkkiohjelma käyttäen Rust-kieltä, jonka avulla tehtiin QR-koodeja lukeva WebAssembly-moduuli. JavaScript has been shown to have significant lacks in performance regarding heavier web applications. WebAssembly is a new compilation target for many programming languages that bring near native speeds to solve this problem.
WebAssembly binaries can be used in many platforms. Web browsers were the main target in the beginning, but it has since found places in the server side as microservices and even in embedded devices.
For this thesis general information about the subject was gathered from articles and recordings of lectures in conventions. Any deeper study of the specification of WebAssembly was left outside the scope of this thesis and the main focus was on a general introduction to WebAssembly and its possibilities.
The applications and properties of WebAssembly were evaluated in the thesis and it seems to have real potential to change the way people make web, and other applications in the future. A survey into how people have adopted the new technology and what they see in its future was referenced.
This thesis also explains how to make a simple Wasm module with the Rust language that decodes QR code data from images.
Tämän työn on tarkoitus olla perusesittely WebAssemblystä. Tietoa kerättiin artikkeleista sekä videotallenteista aiheesta pidetyistä konferensseista.
Työssä tarkasteltiin WebAssemblyn käyttökohteita ja tulevaisuuden näkymiä. Käytiin myös läpi kyselytutkimus siitä miten ihmiset ovat käyttäneet WebAssemblyä ja millaisia mahdollisuuksia he näkivät siinä. Työssä tehtiin myös esimerkkiohjelma käyttäen Rust-kieltä, jonka avulla tehtiin QR-koodeja lukeva WebAssembly-moduuli.
WebAssembly binaries can be used in many platforms. Web browsers were the main target in the beginning, but it has since found places in the server side as microservices and even in embedded devices.
For this thesis general information about the subject was gathered from articles and recordings of lectures in conventions. Any deeper study of the specification of WebAssembly was left outside the scope of this thesis and the main focus was on a general introduction to WebAssembly and its possibilities.
The applications and properties of WebAssembly were evaluated in the thesis and it seems to have real potential to change the way people make web, and other applications in the future. A survey into how people have adopted the new technology and what they see in its future was referenced.
This thesis also explains how to make a simple Wasm module with the Rust language that decodes QR code data from images.