# ocaml/ocaml

The core OCaml system: compilers, runtime system, base libraries

Repository: https://github.com/ocaml/ocaml
Canonical: https://ross.abutalabs.com/products/ocaml
Homepage: https://ocaml.org
Language: OCaml
License: NOASSERTION
License Family: other
Topics: ocaml, compiler, functional-language
Last push: 2026-08-26T12:44:04+00:00

## Health v2 (maintenance only)
Score: 92/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 77, longevity 100
- inputs: {"age_days": 5034, "days_push": 7, "days_rel": 75, "gap_med": 84.0, "n_releases_24m": 7}
- flags: no_license, no_readme
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 6537, forks 1412 (observed 2026-08-28T04:09:45.046958+00:00)

## What it is
The core OCaml compiler system, including bytecode and native-code compilers, a runtime system with generational garbage collection, and the base standard libraries. It is the reference implementation of the OCaml functional programming language, distributed via opam and actively maintained with regular releases.

## Use cases
- compile ocaml programs to fast native executables
- learn a statically typed functional programming language
- build reliable mission-critical software with strong type safety
- compile ocaml to portable bytecode
- set up an ocaml development environment with opam
- write high-performance systems code with garbage collection

## When to choose
- you want an industrial-strength functional language with type inference and pattern matching
- you need both fast native compilation and portable bytecode output
- you are building complex, maintainable codebases where compile-time safety matters
- you want a mature language with long-term support branches

## When to avoid
- you need a language with a huge general-purpose ecosystem of libraries
- your team has no functional programming experience and needs quick onboarding
- you require C-level manual memory control
- you need first-class mobile or web runtime support out of the box

## Facets
- artifact type: cli-tool
- maturity: stable
- function: compiler, interpreter, programming-language, developer-tools
- domain: programming-languages, compilers, developer-tools, cross-platform
- platform: windows, bsd, cross-platform, cli
- tags: ocaml, functional-programming, type-inference, garbage-collection, bytecode, native-code-compiler, standard-library, linux, macos

## Member repositories
- ocaml/ocaml (main) score 92

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:45.046958+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-29T17:44:07.281048+00:00, confidence not recorded.
  - homepage: https://ocaml.org (fetched 2026-08-29T08:40:35.208671+00:00, sha 6ed7a1e4d54b)
  - site_page: https://ocaml.org/docs (fetched 2026-08-29T08:40:35.212037+00:00, sha 857a19939b05)
  - site_page: https://ocaml.org/docs/get-started (fetched 2026-08-29T08:40:35.222076+00:00, sha 8746797e95a9)
  - site_page: https://ocaml.org/install (fetched 2026-08-29T08:40:35.223945+00:00, sha 9aade37a69df)
  - site_page: https://ocaml.org/about (fetched 2026-08-29T08:40:35.225721+00:00, sha a9cbab83fdf6)
  - site_page: https://ocaml.org/changelog (fetched 2026-08-29T08:40:35.214514+00:00, sha 88ac4f7521e4)
  - site_page: https://ocaml.org/releases/5.5.0 (fetched 2026-08-29T08:40:35.227617+00:00, sha e5ed5414267d)
  - site_page: https://ocaml.org/releases/4.14.4 (fetched 2026-08-29T08:40:35.230087+00:00, sha 944b6103ec8b)
  - site_page: https://ocaml.org/releases/5.4.1 (fetched 2026-08-29T08:40:35.231744+00:00, sha 6f55db61b10f)
- Data as of 2026-08-30T08:39:29.467469+00:00.
