Pony is an open-source, ahead-of-time compiled language combining actors, reference capabilities, and memory safety claims without locks or data races at compile time.
Overview
Pony is an object-oriented language centered on the actor model and reference capabilities that label how data may be shared. Programs compile ahead of time to native code, call C libraries through a foreign function interface, and aim for absence of runtime exceptions, locks, and data races.
Official binaries are published for Linux, macOS, and Windows on common CPU architectures, with additional platforms marked tested or best-effort in support tables. Linux builds require recent kernels; Windows builds expect Windows 11 or Server 2022 levels for networking APIs.
The compiler and standard library remain pre-1.0, with breaking changes still possible, though maintainers note production use exists. Documentation covers tutorials, reference capability rules, standard library APIs, Docker images, and editor integrations.
Design philosophy prioritizes correctness first, then performance, then programmer simplicity, with fully defined semantics rather than implementation-dependent behavior.
Key features
- Actor-based concurrency
- Reference capability typing
- Ahead-of-time compilation
- C FFI interoperability
- No locks or data races
- Cross-platform compiler builds
Use cases
- Concurrent network services
- Learning capability-safe design
- Native high-reliability components