
core
MoonBit's Core library
The Lens
By Erik Loyd, SaaS CEO and former COO/CFO of an AWS Premier Partner.
Updated Nov 2026
MoonBit is a young programming language that compiles to WebAssembly, JavaScript and native code, and this repo is its standard library: arrays, maps, strings, JSON, big integers, immutable collections, a property-testing package, even an argument parser. Apache 2.0, free.
Nothing to host: core ships with the compiler, and this repo is where it's developed. The README calls it experimental, with an API subject to change. The language is still on 0.x releases (v0.10.19 shipped November 5), and the team's own target of 1.0 in Q3 2026 has come and gone.
Worth a look for Wasm-first projects, where its fast builds are the pitch. Solo: a good weekend project. Small teams: prototypes, not production. Larger teams: wait for 1.0. For shipping Wasm today, Rust is the proven choice.
The catch: the library's license isn't the language's. The compiler sits under the MoonBit Public Source License, a modified SSPL. Your compiled output is yours under any license, but compiler modifications are non-commercial only, hosting it commercially triggers source-release terms, and the public compiler repo hasn't had a commit on main since September 2025. Build apps freely. Don't plan on forking the toolchain.
Free vs Self-Hosted vs Paid
fully freeFree: The whole standard library, Apache 2.0, bundled with every MoonBit toolchain install. The toolchain itself is free to download and use.
Self-hosted: N/A. It's a library compiled into your program; nothing runs as a service.
Paid: None. Note the license split: the compiler is under the MoonBit Public Source License (modified SSPL), which allows free use and lets you license compiled output however you like, but limits compiler modifications to non-commercial use and adds source-release terms for anyone offering the compiler commercially as a service.
Free to use for building apps. The license only bites if you want to fork or host the compiler, which is under a modified SSPL, not Apache.
What to do by team size
- Solo
- free, worth learning on a side project
- Small team
- free, prototypes only until 1.0
- Medium team
- free, but wait for 1.0 and a stable API before production use
- Large team
- free, but wait for 1.0; review the compiler's SSPL-style license with legal if you plan to modify or host the toolchain
Get tools like this every Wednesday
One featured tool, three on the radar. No fluff.
A low score is not a verdict on quality. Young and niche tools start low by design. How we calculate scores
Trust Signals
License: Apache License 2.0
The library is Apache 2.0; the MoonBit compiler it ships with is under a separate SSPL-style source-available license.
Commercial use: ✓ Yes
About
- Owner
- moonbitlang (Organization)
- Stars
- 1,247
- Forks
- 172
Explore Further
More tools in the directory
rea
Reverse engineer anything with agents, from app behavior down to native binaries.
462.8k ★openclaw
Your own personal AI assistant. Any OS. Any Platform. The lobster way. 🦞
394.6k ★everything-claude-code
The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.
304.0k ★