WebAssembly provides a way to execute code such as C/C++ in browser. It’s suited for high performant use-cases like gaming. It’s been designed to work with JavaScript. Remember java’s applet ? Java applet provided applet runtime for browsers and notoriously slow. WebAssembly is a W3C standard and browsers support it natively. Do read it from MDN.