3 ms·
But you can share code between Rust compiled to wasm on the frontend and rust compiled to native on the backend. In fact I did this for a game where you can eit
by kevincox 4y ago
But you can share code between Rust compiled to wasm on the frontend and rust compiled to native on the backend. In fact I did this for a game where you can either play locally on the frontend or play networked with optimistic updates provided by the client-side but the rules enforced on the server-side.