DEV Community

Discussion on: From Javascript to Rust to WASM

Collapse
 
starsoccer profile image
starsoccer

Regarding slow performance, complex types like objects or strings can be slow. Unless you have a use case that will greatly benefit from WASM the cost to transfer it may not be worth it.

Offloading to a server may work depending on the use case, but you also then have to take into account round trip time. For my specific project there is no server side, its 100% client side code so using WASM made the most sense.