~/talk

AssemblyScript: TypeScript on Steroids Thanks to WebAssembly?

TalkinFrenchat Devoxx France 2022 · 2022-04-20..04-22· [webassembly, typescript]
slides:none on file

AssemblyScript compiles TypeScript-like code to WebAssembly using the asc tool and a config file, producing a .wasm module plus TypeScript bindings for interop. It targets CPU-heavy workloads (big integer and bitwise operations) and shows large speedups—examples include Mandelbrot (~500ms JS → ~188ms WASM), a chess bitboard search (~15s → ~1s), and HDR Histogram (~7M ops/s → ~28M ops/s). Limitations are that generated WASM has no DOM or network access, runs synchronously with no JS garbage collector integration, and requires manual memory/GC tradeoffs.

AI-written summary · about

  1. 0:00Start
  2. 8:38emscripten
  3. 15:55AssemblyScript is not a dynamic language
  4. 16:37unknown
  5. 19:19PERFORMANCE
  6. 21:52number
  7. 22:45BITWISE FTW
  8. 23:19JAVASCRIPT
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.