Languages / OCaml

OCaml

An ML-family language with strong static inference and native or bytecode compilation.

1 ShipStacks scaffold

What OCaml is about

OCaml’s compiler infers most types without annotations and checks modules before code generation. The toolchain can produce portable bytecode for fast iteration or optimized native executables for production, combining functional defaults, algebraic data types, pattern matching, and pragmatic imperative features.

At a glance

Appeared
1996
Runtime
Native or bytecode + GC
Paradigm
Functional / imperative / static
License
LGPL 2.1 with exception

What it’s good for

  • Compiler-like and correctness-sensitive systems
  • Typed domain logic with concise code
  • Teams wanting native functional services

Frameworks in this catalog

How the common frameworks show up — and which ShipStacks products use them below.

Dream

A type-safe, composable OCaml web framework for HTTP and WebSocket applications.

Ready to pick a OCaml stack?

Compare the full catalog or jump into a live preview.