3 ms·
I think it's similar to the whole javascript/node concept. In many ways, web development is like a single distributed application between client and server. S
by wyldfire 4y ago
I think it's similar to the whole javascript/node concept.
In many ways, web development is like a single distributed application between client and server. So if you write your client code in Rust/Zig/C++/etc and emit wasm, wouldn't it be cool if you could share data structures and logic for that code on the backend that would handle client requests?
- kevincox 4y agoBut 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.