AssemblyScript TypeScript to WASM
github.com
3
Leaving SiteNav
External Link Disclaimer
You are about to visit github.com. This website is not operated by us. We are not responsible for its content or privacy practices.
About this website
AssemblyScript is a free and open-source programming language and compiler that compiles a variant of TypeScript to WebAssembly (WASM), enabling developers to write high-performance WebAssembly modules using a familiar TypeScript-like syntax without learning WebAssembly text format or low-level languages like C or Rust. Created by dcode (Daniel Wirtz) and first released in 2017, AssemblyScript has become one of the most popular languages for WebAssembly development alongside Rust and C++. Key features: TypeScript-like syntax: AssemblyScript uses a strict subset of TypeScript syntax. Developers familiar with TypeScript can start writing WebAssembly modules almost immediately, with only minor adjustments (explicit type annotations required for all variables and parameters, no structural typing). WebAssembly output: produces portable, compact, and secure WebAssembly binaries that run in browsers, Node.js, Deno, and standalone WASM runtimes (Wasmtime, Wasm3, Wasmer). Standard library: provides WebAssembly-optimized implementations of common APIs including arrays, maps, sets, strings, math functions, and typed arrays (Int32Array, Float64Array). Memory management: developers use manual memory management via the runtime's allocation and deallocation functions, or opt into a reference-counting or incremental garbage collector. No runtime overhead: compiled WASM binary runs at near-native speed without JavaScript engine overhead. Binaryen optimization: uses the Binaryen WebAssembly optimizer for code optimization (dead code elimination, constant folding, function inlining). Integration: works with npm, webpack, and bundlers. Cross-platform compiler (Node.js). Apache-2.0.
Statistics
3
Views
0
Clicks
0
Like
0
Dislike