Understand that WebAssembly code can be executed at near-native speed across different platforms and that it can be run in modern web browsers.
Other than the above reasons (portability, performance) and perhaps security reasons, why would someone want to run their existing go/rust/c++ applications in web browsers?
Just thought that what should run in web browsers should continue to run in web browsers (i.e., javascript/typescript) and what should run on systems should continue to run on systems (Rust, Go, C/C++)
Nathan Aw (Singapore)
One reason is that they may have an application or library and they don't want to rewrite in Javascript. For example, if they have already made a game in a systems language and they want people on the web to be able to play it, they won't want to rewrite in javascript.
Javascript can be rather annoying to use in very large projects because it wasn't really designed for them. It might just be easier to write good code in a different language.