Unison (M5b)
This assessment applies the coupling account — coupling as access to a shared resource, and the coupling floor [1], [2] — and the knowledge-embodiment theorem [3]; the language is assessed against its official reference [4].
Snapshot Unison (M5b) — released 13 July 2023 · lifecycle superseded (Unison 1.0 released November 2025)
Family Unison — shelf: Application
The language’s main business is building general application software, with a managed runtime or a rich standard library. A shelf groups; it does not classify — the tags below carry every use, paradigm, and platform of this snapshot.
Trajectory first alpha (August 2019 — first alpha release) · M5b (13 July 2023 — assessed milestone)
Tags
Use — Application
Paradigm — Functional
Lifecycle — Superseded
Memory — Managed (GC)
Typing — Static, strong
Resources
The language’s official entry points, and the documents that name the release this page assesses. A link marked this release pins the document to Unison (M5b); an unmarked link is the current reference for the language.
Landing page
API documentation
Tutorial
1 Assessment
This page assesses Unison in five parts: core coupling — what the language’s own constructs force; ecosystem coupling — what the surrounding platform, tooling, and community cost; engineering readiness — whether the artifact can be reproduced, verified, observed, worked in quickly, connected to other languages, and governed openly; the profile — the unscored facts a score cannot express; and the scoring detail — the mechanism marks and the arithmetic behind every score. A ✅ bullet marks a construct that helps. A ⚠️ or ❌ bullet marks a cost; the scoring model does not price every cost named here.
Core coupling 95.4/100 · Ecosystem coupling 77.0/100 · Engineering readiness 63.2/100
1.1 Core coupling
1.1.1 Type
- ✅ Algebraic data types with exhaustive pattern matching: Like Haskell, separates cases explicitly
- ✅ Abilities (algebraic effects): Superior to monads for separating different effect types
- ✅ Content-addressed functions decouple code from names: Functions identified by hash of their implementation
- ✅ Structural typing for abilities: Can satisfy ability requirements without explicit declarations
- ✅ No orphan instances: Type classes (abilities) prevent distant coupling
- ✅ Distributed computing primitives:
Remoteability separates local from distributed concerns
1.1.2 Construction
- ✅ Immutable data structures by default: No coupling through mutation
- ✅ Smart constructors via abilities: Construction effects tracked in type system
- ✅ No global state: Pure functions can’t have hidden dependencies
- ✅ Content addressing eliminates initialization order: Functions self-contained, no module load order coupling (C8)
1.1.3 Memory
- ✅ Runtime GC decouples memory: No manual memory management
- ✅ Immutability prevents reference cycles: Simpler GC, fewer leaks (M7)
- ✅ Distributed execution abstracts memory:
Remotecomputation handles serialization automatically - ⚠️ GC implementation details not public: Couples performance to runtime implementation
1.1.4 Error
- ✅ Abilities make errors explicit:
{Exception} Resultshows failure in type signature - ✅ Algebraic effects compose: Can combine error handling with other effects naturally
- ✅ Pattern matching on Either/Result: Exhaustiveness checking prevents missed error paths
- ✅ No unchecked exceptions: All failure modes visible in types
1.1.5 Concurrency
- ✅ Distributed computing built-in: Functions can execute remotely without changing logic
- ✅ Content addressing enables safe deployment: Update function implementation without breaking callers
- ✅ Abilities separate concurrent operations:
Concurrent,Remoteabilities explicit in signatures - ✅ Deterministic execution: Pure functions compose regardless of execution location
1.1.6 Platform
- ✅ Own runtime, no foreign VM: Unison ships its own runtime, so programs target no third-party virtual machine such as the JVM or the CLR
- ✅ Native binaries for the desktop platforms: UCM ships for macOS (Intel and Apple Silicon), 64-bit Linux, and Windows
- ✅ Cloud is optional: A local codebase builds, tests, and runs with
ucmalone; Unison Cloud and Unison Share are services you may adopt, not platform prerequisites - ✅ Host-independent code identity: Because definitions are identified by a hash, a codebase binds to no filesystem layout or machine-specific package registry
1.1.7 Trade-offs (not coupling)
- Content Addressing vs. Naming: Hash-based identity decouples from names but couples to implementation details (changing algorithm changes identity)
- Distributed Transparency vs. Network Reality:
Remoteabstracts distribution but couples logic to serialization constraints - Immutability vs. Performance: Persistent data structures couple performance to structure sharing discipline
- Ability Inference vs. Explicitness: Type inference can hide effect requirements, coupling understanding to compiler
- Codebase Manager vs. Traditional VCS: Git independence decouples from version control but couples to Unison tooling
1.2 Ecosystem coupling
1.2.1 Performance
- ✅ Own runtime: Predictable performance, its own runtime avoids JVM dependency
- ✅ Distributed execution: Can distribute computation across machines transparently
- ⚠️ GC pauses: Unison’s own runtime collects garbage, so pauses are non-deterministic (R2)
- ❌ Persistent data structures overhead: Immutability couples performance to structure sharing
- ⚠️ Network abstraction cost:
Remotecomputation couples performance to serialization/network
1.2.2 Ecosystem
- ❌ Very small ecosystem: Limited library availability couples a project to manual implementation or to the few libraries that exist
- ✅ Codebase Manager is innovative: Content addressing decouples from traditional VCS
- ✅ Excellent error messages: Compiler feedback decouples debugging from trial-and-error
- ⚠️ UCM learning curve: Novel workflow couples productivity to understanding new paradigm
- ✅ Share functionality built-in: Can publish/consume code via Unison Share without separate package manager
1.2.3 Evolution
- ✅ Content addressing handles refactoring: Rename functions without breaking dependents (they reference by hash)
- ✅ Upgrade functions independently: Can use multiple versions of same function (different hashes)
- ⚠️ Pre-1.0 stability: Breaking changes still occur while the language evolves, coupling code to a language version
- ✅ Automatic migration tools: UCM helps update codebases when language changes
- ⚠️ Small team: Development pace couples to limited resources
1.2.4 Domain
- ✅ Excellent for distributed systems: Built-in remote execution separates logic from distribution
- ✅ Strong for backend services: Type safety + distributed primitives
- ⚠️ Limited frontend use: No browser runtime (yet)
- ⚠️ Immature for production: Ecosystem couples adoption to risk tolerance
- ✅ Great for exploratory programming: Content addressing enables fearless refactoring
1.2.5 Learning
- ❌ Novel paradigm: Content addressing + abilities + UCM workflow all new concepts
- ✅ Good documentation: Unison docs and tour explain concepts well
- ⚠️ Requires functional thinking: Learning couples to FP background
- ⚠️ UCM workflow different: Codebase management couples to unlearning Git habits and to understanding content addressing
- ✅ Interactive REPL:
ucmmakes exploration easier
1.2.6 Syntax
- ✅ Clean syntax: Python/Haskell hybrid, minimal noise
- ✅ Significant whitespace: Indentation-based, reduces boilerplate
- ✅ Abilities integrate naturally: Effect syntax lightweight
- ⚠️ UCM commands: Learning curve for codebase operations
- ✅ Hash-qualified names optional: Can use readable names, hashes only when needed
1.2.7 Testing
- ✅ Watch expressions: Can add tests directly in code files
- ✅ Pure functions easy to test: No hidden state coupling
- ✅ Property testing support: Can write generative tests
- ⚠️ Debugging tools immature: Stack traces couple to runtime implementation
- ⚠️ Distributed debugging hard: Remote computation couples debugging to network
- ❌ No clock reading in the language: time lives in effects the host supplies (G4)
1.2.8 Security
- ✅ Memory safe: GC prevents memory bugs
- ✅ Type safety: No null, no type confusion
- ✅ Content addressing: Function identity verified by hash, prevents tampering
- ✅ Ability system: Can control what effects functions perform
- ⚠️ Distributed execution risk: Remote computation couples security to network trust
- ❌ Int64 and Nat64 are fixed-width machine integers; the documentation demonstrates overflow wrapping (Q4)
1.2.9 Delivery targets
What ships from a producer to a consumer, and whether the interface across a release boundary is promised. Ec8 is present when one compiled target crosses with no promise.
| Target | Ships as | Crosses a producer boundary | Cross-release promise |
|---|---|---|---|
| source definition | source | no | A definition’s identity is its content hash, so code crosses by hash and not by binary |
1.3 Engineering readiness
1.3.1 Reproducibility
- ✅ The codebase is the contract: dependencies are content-addressed by exact hash, and the compiler resolves them by hash, so a dependency cannot move under the build (Y18)
1.3.2 Supply chain
- ❌ Published libraries resolve by hash with no signature layer above it. (Y3)
- ❌ No advisory feed covers published libraries. (Y16)
- ⚠️ The shared library market is the public codebase, content-addressed by hash.
1.3.3 Observability
- ❌ No tracing standard exists in the language. (Y5)
- ❌ print and the ability boundary carry no structure. (Y6)
- ❌ A failed ability request surfaces as a typed value, and no post-mortem is written. (Y15)
1.3.4 Feedback
- ✅ There is no build: running is fetching content-addressed definitions. (Y7)
- ⚠️ No analyzer ships; the editor integrations are the tooling.
1.3.5 Interop
- ❌ The artifact runs on the Unison deployment targets the runtime supports. (Y10)
1.3.6 Governance
- ❌ Semantics rest on the reference implementation: the published specification defines the language as the reference implementation behaves, and no conformance suite exists (Y17)
1.4 Profile
Unscored, and kept separate from every score on purpose. The profile records what a mechanism price cannot express: what a running program costs, how well a coding model and an agent work in the language, and whether a safety-critical path exists.
1.4.1 Energy and cost
What this axis asks: what does a running program cost in energy and time?
1.4.2 AI and agent readiness
What this axis asks: how well does a coding model and an agent work in this language?
- ❌ Sparse training data: models write it unreliably [8].
1.4.3 Safety certification
What this axis asks: is there a certified or standards-qualified path to a safety-critical system?
- ⚠️ No certified or standards-qualified path for safety-critical systems.
1.5 Scoring detail
1.5.1 Core coupling Dimensions
| Dimension | Mechanism | Description | Imposed by | Present | Weight |
|---|---|---|---|---|---|
| Type | T1 |
dynamic no static check | language | — | 0 |
T2 |
weak static | language | — | 0 | |
T3 |
dynamic/duck dispatch | language | — | 0 | |
T4 |
no sum types | language | — | 0 | |
T5 |
no generics | language | — | 0 | |
T6 |
no namespaces | language | — | 0 | |
T7 |
type erasure/reflection | language | — | 0 | |
T8 |
operator overloading | language | — | 0 | |
T9 |
inheritance required for polymorphism | language | — | 0 | |
T10 |
no null-safety | language | — | 0 | |
T11 |
no module boundary | language | — | 0 | |
T12 |
no effect tracking | language | — | 0 | |
T13 |
async/sync colouring | language | — | 0 | |
T14 |
unchecked foreign boundary | language | ✅ | −4 | |
T15 |
chars are encoding units | language | — | 0 | |
| Type cost | −1.1 (−4) | ||||
| Construction | C1 |
global mutable state by default | language | — | 0 |
C2 |
no immutability by default | language | — | 0 | |
C3 |
constructors coupled to allocation | language | — | 0 | |
C4 |
no constructor/validation | language | — | 0 | |
C5 |
unpinned collection order | language | — | 0 | |
C6 |
aliasing by default | language | — | 0 | |
C7 |
undeclared control transfer | language | — | 0 | |
C8 |
no source-visible init order | language | — | 0 | |
| Construction cost | 0 | ||||
| Memory | M1 |
manual deallocation | runtime | — | 0 |
M2 |
GC non-deterministic pauses | runtime | ✅ | −8 | |
M3 |
no RAII | language | ✅ | −4 | |
M4 |
no ownership model | language | — | 0 | |
M5 |
uninitialized reads | language | — | 0 | |
M6 |
unchecked reinterpretation | language | — | 0 | |
Er6 |
uncatchable runtime fault | language | — | 0 | |
M7 |
reference cycles leak | runtime | — | 0 | |
| Memory cost | −3.4 (−12) | ||||
| Error | Er1 |
no structured path | language | — | 0 |
Er2 |
unchecked exceptions only | language | — | 0 | |
Er3 |
errors ignored/non-exhaustive | language | — | 0 | |
Er4 |
no composable result type | language | — | 0 | |
Er5 |
no isolation unit for a fault | runtime | — | 0 | |
| Error cost | 0 | ||||
| Concurrency | K1 |
GIL/no parallel | runtime | — | 0 |
K2 |
shared mutable state default | language | — | 0 | |
K3 |
manual sync no race detection | runtime | — | 0 | |
K4 |
no structured concurrency | language | — | 0 | |
K5 |
no primitives | language | — | 0 | |
K6 |
thread-per-task cost | runtime | — | 0 | |
| Concurrency cost | 0 | ||||
| Platform | P1 |
cannot function outside one vendor/domain | context | — | 0 |
P2 |
single-vendor but other uses | context | — | 0 | |
P3 |
legacy/discontinued platform | context | — | 0 | |
P4 |
poor domain fit | context | — | 0 | |
| Platform cost | 0 |
Core coupling score: 95.4/100 — 16 of the 350 inventory points are present, so the axis cost is 100 × 16 ÷ 350 = 4.6 and the score is 100 − 4.6. Each dimension’s cost above is its share of the same denominator, and the raw weight sum follows in parentheses.
1.5.2 Ecosystem coupling Dimensions
| Dimension | Mechanism | Description | Imposed by | Present | Weight |
|---|---|---|---|---|---|
| Performance | R1 |
interpreted no AOT/JIT | runtime | — | 0 |
R2 |
GC pauses | runtime | ✅ | −8 | |
R3 |
JIT warmup | runtime | — | 0 | |
| Performance cost | −3.1 (−8) | ||||
| Ecosystem | Ec1 |
no package manager | context | — | 0 |
Ec2 |
fragmented tooling | context | — | 0 | |
Ec3 |
small/niche/discontinued | context | ✅ | −8 | |
Ec4 |
proprietary | context | — | 0 | |
Ec5 |
platform-locked tooling | context | — | 0 | |
Ec6 |
monoculture | context | — | 0 | |
Ec7 |
legacy burden | context | — | 0 | |
Ec8 |
unpromised binary boundary | context | — | 0 | |
Ec9 |
unpromised data boundary | context | — | 0 | |
| Ecosystem cost | −3.1 (−8) | ||||
| Evolution | V1 |
breaking changes | language | ✅ | −8 |
V2 |
frozen | context | — | 0 | |
V3 |
discontinued | context | — | 0 | |
V4 |
glacial standards | context | — | 0 | |
V5 |
silent default drift | runtime | — | 0 | |
V7 |
build-variant state space | context | — | 0 | |
| Evolution cost | −3.1 (−8) | ||||
| Domain | D1 |
domain/vendor lock-in | context | — | 0 |
D3 |
framework forces architecture | context | — | 0 | |
| Domain cost | 0 | ||||
| Learning | L1 |
steep | context | ✅ | −8 |
L2 |
large surface/multi-paradigm | context | — | 0 | |
L3 |
sparse docs | context | — | 0 | |
| Learning cost | −3.1 (−8) | ||||
| Syntax | S1 |
verbose | language | — | 0 |
S2 |
inconsistent | language | — | 0 | |
S3 |
punctuation-heavy | language | — | 0 | |
| Syntax cost | 0 | ||||
| Testing | G1 |
weak tooling | context | — | 0 |
G2 |
poor debugging | context | ✅ | −8 | |
G3 |
runtime-only errors | context | — | 0 | |
G4 |
no published monotonic clock | runtime | ✅ | −4 | |
| Testing cost | −4.7 (−12) | ||||
| Security | Q1 |
memory-unsafe | language | — | 0 |
Q2 |
dynamic/weak typing risk | language | — | 0 | |
Q3 |
known vulnerability/injection | context | — | 0 | |
Q4 |
silent integer overflow | language | ✅ | −15 | |
| Security cost | −5.9 (−15) |
Ecosystem coupling score: 77.0/100 — 59 of the 256 inventory points are present, so the axis cost is 100 × 59 ÷ 256 = 23.0 and the score is 100 − 23.0. Each dimension’s cost above is its share of the same denominator, and the raw weight sum follows in parentheses.
1.5.3 Engineering readiness Dimensions
| Dimension | Mechanism | Description | Imposed by | Present | Weight |
|---|---|---|---|---|---|
| Reproducibility | Y1 |
build not reproducible | context | — | 0 |
Y2 |
dependencies not pinned | context | — | 0 | |
Y14 |
no toolchain version pin | context | ✅ | −8 | |
Y18 |
no machine-read project contract | context | — | 0 | |
| Reproducibility cost | −4.7 (−8) | ||||
| Supply chain | Y3 |
no signed provenance | context | ✅ | −15 |
Y4 |
registry without namespacing | context | — | 0 | |
Y16 |
no advisory feed | context | ✅ | −8 | |
| Supply chain cost | −13.5 (−23) | ||||
| Observability | Y5 |
no stable tracing standard | context | ✅ | −8 |
Y6 |
no structured logging | context | ✅ | −4 | |
Y15 |
no post-mortem diagnostics | runtime | ✅ | −8 | |
| Observability cost | −11.7 (−20) | ||||
| Feedback | Y7 |
slow build | context | — | 0 |
Y8 |
no fast in-editor analysis | context | — | 0 | |
Y13 |
no bundled debugger | context | — | 0 | |
| Feedback cost | 0 | ||||
| Interop | Y9 |
no foreign-function interface | language | — | 0 |
Y10 |
no portable target | context | ✅ | −4 | |
| Interop cost | −2.3 (−4) | ||||
| Governance | Y11 |
single-vendor governance | context | — | 0 |
Y12 |
closed specification | context | — | 0 | |
Y17 |
no conformance mechanism | context | ✅ | −8 | |
Y19 |
no published parser | context | — | 0 | |
| Governance cost | −4.7 (−8) |
Engineering readiness score: 63.2/100 — 63 of the 171 inventory points are present, so the axis cost is 100 × 63 ÷ 171 = 36.8 and the score is 100 − 36.8. Each dimension’s cost above is its share of the same denominator, and the raw weight sum follows in parentheses.
Verdict: Unison’s content-addressed code and algebraic effects create exceptionally low forced coupling. Content addressing means functions are truly self-contained—no dependency on import paths, build order, or deployment infrastructure. Abilities provide better effect separation than Haskell’s monolithic IO. Main weakness: immature ecosystem and learning curve for content-addressed paradigm.
The formal development. The definitions, theorems, and proofs behind this page are published in:
- On the Nature of Coupling: All Coupling as Shared Resource Access — Zenodo, 2026 — doi:10.5281/zenodo.21925122
- Coupling as a Consequence of Cohesion: Decomposition, the Coupling Floor, and Domain-Imposed Coupling — Zenodo, 2026 — doi:10.5281/zenodo.21925201
- On the Nature of Cohesion: Cohesion as Correctness Relative to a Partitioning Rule — Zenodo, 2026 — doi:10.5281/zenodo.21703193