Hacker News new | ask | show | jobs
by nicolodavis 2172 days ago
I'm just using an SPA written in Svelte on the frontend. I only use Rust for the game state updates.

About measurements, I just whipped up a quick benchmark comparing the JavaScript state updates with the WASM version. You do pay a cost crossing the JS / WASM boundary, but the WASM version is faster overall for my application. I'm not particularly concerned with performance at the moment (it was just a nice to have).