Replacing a React Frontend with #GoLang and #WebAssembly
@lupyuen For example, Element (like many other web-based Matrix clients) is primarily written in JavaScript & TypeScript, but the complex cryptographic logic performed in the background is handled via a Rust-based WASM file.
@lupyuen As someone who uses Go frequently, this doesn't really make sense to me.
This has been done before with Rust and Yew, but WASM isn't really meant for that use case. It makes far more sense to use WASM for the non-UI logical operations, and JavaScript for the visible UI parts.