Treffer: Next-generation Web Applications with WebAssembly and TruffleWasm

Title:
Next-generation Web Applications with WebAssembly and TruffleWasm
Publisher Information:
2021-12-15
Document Type:
E-Ressource Electronic Resource
DOI:
10.23919.MIPRO52101.2021.9596883
Availability:
Open access content. Open access content
Other Numbers:
COO oai:arXiv.org:2112.08270
44th International Convention on Information, Communication and Electronic Technology (MIPRO), 2021, pp. 1695-1700
doi:10.23919/MIPRO52101.2021.9596883
1333738903
Contributing Source:
CORNELL UNIV
From OAIster®, provided by the OCLC Cooperative.
Accession Number:
edsoai.on1333738903
Database:
OAIster

Weitere Informationen

In modern software development, the JavaScript ecosystem of various frameworks and libraries used to develop contemporary web applications presents many advantages. JavaScript is a widely known interpreted programming language, simple to learn and start development, and with numerous third-party libraries and extensions. However, with the rise of highly user-interactive websites and browser-based games, in some cases, JavaScripts executable engine could lack in performance. Therefore, developers could combine several other programming languages to create a polyglot user-interactive interoperable system to develop efficient modern web applications. The interoperability modules offer significant advantages but also present challenges in the execution due to high complexity and longer compilation times. This paper explores WebAssembly, a binary format compilation target with a low-level assembly-like language used for targeting from other programming languages. The binary format allows near-native performance level due to its compactness, as it prioritizes usage of low-level languages. Moreover, as a continuation of our previous research of the GraalVM ecosystem, we analyzed a guest language implementation of a WebAssembly based system, TruffleWasm, hosted on GraalVM and Truffle Java framework. This paper presents the architecture and review of the TruffleWasm within the GraalVM-based ecosystem as well as from performance test results within our academic environment.
Comment: 6 pages, 3 figures