
AssemblyScript
AssemblyScript is free and open source software released under the Apache License, Version 2.0, builds upon Binaryen and is based on the WebAssembly specification.
Introduction | The AssemblyScript Book
AssemblyScript provides WebAssembly and compiler foundations as built-in functions, making it suitable as a thin layer on top of raw WebAssembly. For example, memory can be accessed …
Getting started | The AssemblyScript Book
Install the AssemblyScript compiler. Let's assume that it is not required in production and make it a development dependency:
Using the compiler | The AssemblyScript Book
With AssemblyScript being very similar to TypeScript, there comes the opportunity to compile the same code to JavaScript with tsc and WebAssembly with asc. The AssemblyScript compiler …
Built with AssemblyScript | The AssemblyScript Book
A live coding environment in the browser for sequencing music with javascript and synthesizing instruments in AssemblyScript. Demonstrates compiling AssemblyScript directly in the …
Examples | The AssemblyScript Book
A collection of AssemblyScript examples that one can play around with right in the browser.
Concepts | The AssemblyScript Book
AssemblyScript does not compile a module linearly, but starts at the module's exports and only compiles what's reachable from them, often referred to as tree-shaking.
Types | The AssemblyScript Book
Compared to TypeScript, type inference in AssemblyScript is limited because the type of each expression must be known in advance. This means that variable and parameter declarations …
Runtime | The AssemblyScript Book
The AssemblyScript runtime implements the necessary bits for memory management and garbage collection. It is largely invisible to a developer but can become relevant in advanced …
Frequently asked questions | The AssemblyScript Book
A collection of general WebAssembly and AssemblyScript questions and their answers.