WoW Lab

WoW Lab

Toolkit

Simulate

Quick SimBest in BagsDrop Optimizer

Rotations

BrowseNew Rotation

Plan

Traits
P

Developer

DocsBibleEngineHooksMCP ServerMetricsUI Showcase

Misc

AboutBlog

© 2025 WoW Lab

  1. Home
  2. Bible
  3. WebAssembly

WebAssembly

Engine in browser, wasm-pack compilation, and the type bridge

February 13, 2026
Edit

Engine compiled to WASM for browser-side validation and rendering, wasm-pack build pipeline, wasm-opt optimization flags (-O --enable-bulk-memory --enable-nontrapping-float-to-int), dual-target crates (cdylib + rlib for WASM and native), feature flags (wasm feature disables JIT/parallel, enables wasm_bindgen), WASM exports (get_spec_info, get_spec_coverage, get_spell_definitions, get_aura_definitions, validate_rotation, renderSpellDesc, parseSimc, parseRotation, encodeMinimalLoadout, decodeJobResult/Timeline), type bridge via tsify + serde-wasm-bindgen (170+ exported types), React integration (WasmIsland component, useEngine/useCommon hooks, React Query caching with staleTime: Infinity), lazy loading pattern.

Next steps

Database
Node Authentication
Database

Navigation

IntroductionGlossaryReferences

Overview

Mechanics

Game Data

Simulation

Infrastructure

ArchitectureDistributed ComputingRealtimeNode AuthenticationWebAssemblyDatabaseDeployment

Portal