# moonbitlang/core

MoonBit's Core library

Repository: https://github.com/moonbitlang/core
Canonical: https://ross.abutalabs.com/products/moonbitlang-core
Homepage: https://mooncakes.io/docs/moonbitlang/core/
Language: MoonBit
License: Apache-2.0
License Family: permissive
Topics: standard-library, moonbit
Last push: 2026-09-02T10:10:57+00:00

## Health v2 (maintenance only)
Score: 71/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 100, release rhythm 35, longevity 67
- inputs: {"age_days": 947, "days_push": 0, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1197, forks 162 (observed 2026-09-03T02:15:15.248721+00:00)

## What it is
moonbitlang/core is the standard library for the MoonBit programming language, released alongside the compiler. It provides builtin types, collections, numerics, text handling, JSON, testing, and benchmarking packages built on a common builtin foundation.

## Use cases
- use collections like hashmap, deque, and priority queue in MoonBit
- parse and serialize JSON in MoonBit programs
- write tests and benchmarks for MoonBit code
- do arbitrary-precision integer math with BigInt
- parse command-line arguments in a MoonBit app
- work with strings, bytes, and encodings in MoonBit

## When to choose
- you are writing any nontrivial MoonBit program
- you need data structures, JSON, or testing utilities in MoonBit

## When to avoid
- you need a fully stable, frozen API - it is experimental and subject to change
- you are not using the MoonBit language

## Facets
- artifact type: library
- maturity: experimental
- function: sdk, json, math, testing, benchmarking, serialization, cli
- domain: programming-languages, developer-tools
- platform: wasm, cross-platform, cli
- tags: standard-library, moonbit, collections, bigint, data-structures, algorithms

## Member repositories
- moonbitlang/core (main) score 71

## Provenance
- Observed fields: from GitHub, fetched 2026-09-03T02:15:15.248721+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:23:19.637800+00:00, confidence not recorded.
  - readme: https://github.com/moonbitlang/core (fetched 2026-09-03T02:15:15.248721+00:00, sha 0475e74bf3da)
  - homepage: https://mooncakes.io/docs/moonbitlang/core/ (fetched 2026-08-29T12:30:24.440340+00:00, sha 174b735be012)
- Data as of 2026-08-30T08:39:29.467469+00:00.
