~/talk

WebAssembly and the Web in TypeScript

TalkinRussianat Я 💛 Фронтенд 2023 · on Saturday, 2023-06-17· [webassembly, typescript]
slides:none on file

Describes using AssemblyScript plus a small loader and an npx project generator to compile TypeScript to WebAssembly, load it via fetch, and wire up imports/exports with JavaScript. Shows a pixel renderer that writes into shared linear memory and uses ImageData to draw to canvas (around 360 FPS on 500×500 and a 100k-sprite benchmark). Covers concrete limitations: no closures or full GC (until recent changes), manual memory and string/object transport, and the need to rework large existing TypeScript apps to fit WASM constraints.

AI-written summary · about

  1. 0:00Introduction
  2. 1:33What is WebAssembly
  3. 4:45WebAssembly benefits
  4. 7:12Getting started with AssemblyScript
  5. 11:54AssemblyScript project structure
  6. 13:22AssemblyScript types and memory
  7. 16:54Memory and rendering
  8. 19:51WebAssembly in practice
  9. 23:00Example: rabbit animation
  10. 27:35AssemblyScript limitations
  11. 30:24When to use WebAssembly
  12. 33:15AssemblyScript pitfalls
  13. 36:11Q&A
~/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.