Compile JavaScript to WASM for Web Performance Improvement
★ W3C TPAC 2023, Seville, 11–15 September ★
Different forms of Web technology in application
Mini App
Mini Game
Main Page
Ad Page
The history of the app-oriented Web technology
Key issues of the app-oriented Web development
An ideal Web Application Development Model
JWST——A JavaScript-to-WASM Static Translator
JWST is a static compiler developed by Huawei Tech. & Beihang University for compiling JavaScript to
WASM and
native
code
Uses QuickJS bytecode as input, and outputs LLVM IR.
Has the same pass rate as QuickJS for ECMA TEST 262.
When running SunSpider on Intel i7 and Kirin 990E CPUs, the WebAssembly code generated by JWST is~30% and ~50% faster than node.js for the first execution, respectively.
JWST Compilation Process
React Native Demo
0.1x play
JWST (WASM)
JWST Native
V8-Cache
V8-No-Cache
Breakout Session
Accelerating the Web performance by compiling Javascript code to WASM