TypeScript-like language that compiles to WebAssembly
open sourceApache-2.0free
AssemblyScript is a language that compiles a strictly typed variant of TypeScript to WebAssembly with Binaryen: it looks like TypeScript but uses WebAssembly's types, has some constraints from compiling ahead of time and additions from WebAssembly's feature set, and exposes WebAssembly and compiler foundations as built-ins, so web developers can produce lean WebAssembly modules. Its compiler, asc, is installed from npm, and its runtime provides memory management and an incremental garbage collector by default.
Libraries for JavaScript and TypeScript
View 40 more
- Playwright
- Next.js
- Pulumi
- Hindsight
- Cognee
- Oxc
- Tauri
- Weights & Biases
- Selenium
- Tailwind CSS
- Babel
- gRPC
- Payload
- Convex
- Tiptap
- DeepEval
- Angular
- Temporal
- Browser Use
- Pi
- Claude-Mem
- Skyvern
- Docusaurus
- Protocol Buffers
- p5.js
- QMD
- Composio
- Trigger.dev
- PostCSS
- Better Auth
- Storybook
- Vitest
- Expo
- Medusa
- Jitsi Meet
- Lexical
- LanceDB
- MinerU
- Headroom
- Saleor
Browse all of them: 852 libraries, 200 frameworks, 498 APIs, 37 templates.
Problems it solves
- write WebAssembly modules in a TypeScript-like language
- compile performance-critical web code to WebAssembly without learning Rust
- small WebAssembly modules from typed JavaScript-style code
Features
- TypeScript-like syntax with WebAssembly types
- compiles ahead of time to WebAssembly via Binaryen
- WebAssembly built-ins
- incremental garbage collector runtime
- compiler on npm
Alternatives
The same job
These do what AssemblyScript does.
