Member-only story
Get Started With WASM in Rust
Your first steps in the future of development, gain performance, strong types, and much more in JS
Since before its launch, WASM has become an important technology within the development community. Some developers may prefer to avoid it and stick with using JavaScript and TypeScript, which is a totally valid setup for most use-cases. However, WebAssembly has brought unmatched performance and type safety to the frontend world (and not only).
WebAssembly (or WASM) is a binary language that is converted efficiently into machine code by the browser, which runs it much more efficiently than JavaScript. WASM allows languages like C, Rust, and Zig to execute their code within a browser (obviously sandboxed).
WebAssembly is not only for browser. As a matter of fact, Stellar for instance is building its native smart contracts environment to execute WASM on-chain. This means that web assembly will be an important player in various industries.
Speed was the driving factor in creating WASM, and hackers have injected malicious JavaScript code into vulnerable websites to load wasm-written code and perform heavy calculations to mine crypto directly from the website’s visitor’s CPU, proving that WebAssembly’s performance is on a whole other level compared to…