HistoryAbout Tech Radar
Trial
Methods & Patterns
Since Jul 2025

WebAssembly enables near-native performance for compute-heavy tasks in the browser. The Cayenne and 911 teams are trialing it for specific modules where JavaScript performance is a bottleneck.

The Cayenne team has compiled their 3D vehicle configurator's rendering pipeline to WebAssembly using Rust and wasm-bindgen. The result: frame times dropped from ~16ms to ~4ms for complex material calculations, enabling smooth 60fps rendering on mid-range mobile devices that previously struggled at 30fps.

The 911 team is experimenting with WebAssembly for client-side telemetry data processing — aggregating and filtering large datasets locally before sending summaries to the server, reducing bandwidth usage by ~80% for power users with extensive driving history.

Both teams use wasm-pack for the Rust-to-WebAssembly compilation pipeline, with TypeScript type definitions auto-generated from the Rust source. Bundle size overhead is manageable: the Cayenne rendering module adds ~120KB gzipped.

Key constraints we have identified: debugging WebAssembly is still significantly harder than JavaScript, and the compilation step adds build complexity. We restrict WebAssembly usage to isolated, performance-critical modules with clear interfaces — not general application logic.

Edit
Jul 2025
Trial
WebAssembly enables near-native performance for compute-heavy tasks in the browser. The Cayenne and…more
911cayenne