This is a technology called WebAssembly, literally called Web Assembly. It can now be written in a language like Rust, and then compiled using a special compiler toolchain. Both Firefox and Chrome browsers now support loading and running WebAssembly format code.
So what language is Rust? Rust is designed as a system programming language to replace C ++. It can develop various types of applications, operating systems, and run on embedded devices. Oh, this is a story that hurts each other.