Talk type: Talk

Rushing into JS on Wasm

  • Talk in Russian
Presentation pdf

JavaScript is often used to write user scripts. For example, you can write your own plugin for Figma or a function for calculating a discount for a store in Shopify. But several problems arise: it is necessary that the code be executed in a sandbox, and that it be executed quickly and efficiently, because there can be many users. This talk is about the latter problem.

We will be compiling (or, more precisely, JIT-compiling) JavaScript in Wasm. It is believed that it is impossible to write a JIT compiler in wasm, but these boring beliefs are wrong. We'll see how hard it is to compile JS to Wasm, what kind of performance this solution shows and how it compares to existing approaches like QuickJS.


Invited experts