https://wasmbyexample.dev/home.en-us.html The maintainer of this website has a Spotify Coding Playlist of their Lo-fi Hip Hop beats! WebAssembly Logo Wasm By Example Language: [] [] --------------------------------------------------------------------- WebAssembly (Wasm) is an universal low level bytecode that runs on the web. It is a compilation target for languages like Rust, AssemblyScript (Typescript-like), Emscripten (C/C++), and much more! Wasm offer a compact binary format with predictable performance, and portability to run alongside Javascript and other host languages. Wasm is currently shipped in all major browsers, and has runtimes meant for running on servers or interfacing with systems using WASI. What is Wasm By Example? Wasm By Example is a concise, hands-on introduction to WebAssembly using code snippets and annotated WebAssembly example programs. Learn more about Wasm at the WebAssembly Introduction or browse the list of examples below. Examples Concepts Examples that express some of the major underlying concepts in WebAssembly. Some of these examples are not the most convenient or productive way for building projects with WebAssembly. However, these minimal examples are great for learning, or developing straightforward / lower-level parts of an application. * Introduction * Introducao * Hello World! * Hello World! * Hello World! * Hello World! * Ola, Mundo * Exports * Exports * Exports * Exports * WebAssembly Linear Memory * WebAssembly Linear Memory * WebAssembly Linear Memory * A Memoria Linear do WebAssembly * Importing Javascript Functions Into WebAssembly * Importing Javascript Functions Into WebAssembly * Importing Javascript Functions Into WebAssembly * Como Importar Funcoes do Javascript Em WebAssembly Applying the Concepts Examples that expand on the conceptual examples to show how these minimal examples could be used to build common features in larger applications. * Reading and Writing Graphics * Reading and Writing Graphics * Reading and Writing Graphics * Como Ler e Escrever Graficos * Reading and Writing Audio * Reading and Writing Audio * Reading and Writing Audio * Como Ler e Escrever Audio Ecosystem tools and Language features Examples that highlight tools, libraries, and features of your selected programming language. These ecosystem components can drastically help in building powerful applications. For example, tools can be used to help pass data between your host runtime and WebAssembly module, and/or languages features can abstract away some of the lower-level parts of WebAssembly such as memory management. * Passing High Level Data Types with `wasm-bindgen` * Passando Tipos de Dados de Alto Nivel com o `wasm-bindgen` * Passing High Level Data Types with `as-bind` * Strings * Classes WebAssembly Outside of the Browser Examples that highlight the WebAssembly System Interface (WASI), standalone WebAssembly runtimes, tools for applications that use WASI, and use cases for tasks like cloud computing and internet-of-things devices. WebAssembly has a lot of key features that make it great for the browser web, and these same features make it a popular choice for uses outside of the browser as well. * WASI Introduction * Introducao a WASI * WASI Hello World * WASI Hello World * Ola, Mundo com WASI * WASI Hello World --------------------------------------------------------------------- Made by Aaron Turner (torch2424) and some amazing contributors. Home About Additional Resources All Examples Listing Source Code (Github) License