Options
All
  • Public
  • Public/Protected
  • All
Menu

Problem: WASM has 4 distinct number types and javascript doesn't Solution A: Use ASM.js notation

  • I don't like this solution
  • it requires us to carefully rely on the js spec
  • so could break in future/old browsers and other interpreters Solution B: Use BigInt and Float*Array
  • Probably worse performance
  • More reliable and intuitive

Index

Enumeration Members

Enumeration Members

F32: 5
F64: 6
I32: 1
I64: 2
U32: 3
U64: 4

Generated using TypeDoc