# Roc

> A fast, friendly, functional language

Source: https://talira.ai/catalog/roc-dma7r10x
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Programming language
- Categories: [developer tools / programming languages](https://talira.ai/categories/developer-tools/programming-languages), [languages / roc](https://talira.ai/categories/languages/roc)
- Licence: UPL-1.0[^2]
- Pricing: Free and open source[^2]
- Free tier: yes[^2]
- Typing: Static[^3]
- Runs as: Native[^4]
- Paradigms: Functional[^4]
- Backed by: [Roc Programming Language Foundation](https://talira.ai/orgs/roc-lang-foundation.md)

Roc is a fast, friendly, single-paradigm functional language with a small number of simple primitives, designed to build fast and run fast by compiling to machine code or WebAssembly. Its compiler does complete type inference across all your code with a sound type system, so a program that type-checks never hits a runtime type mismatch or a null exception, and it ships a formatter and other tools with the language. Roc is memory-safe with automatic memory management, does all I/O through a lightweight state machine so it can be asynchronous, and aims to outperform the fastest mainstream garbage-collected languages. Roc is a work in progress: its first release candidate, 0.1.0 RC1, came out in November 2026. Development is funded by sponsors and donations through the Roc Programming Language Foundation, a US nonprofit.

## Links

- Website: https://www.roc-lang.org/
- GitHub: https://github.com/roc-lang/roc
- Docs: https://www.roc-lang.org/docs

## Libraries for Roc

Talira doesn't list any yet.

## Problems it solves

- a functional language with a sound type system that compiles to fast machine code
- a language where a program that compiles never throws a null or type error at runtime
- a simple functional language with friendly compiler errors and a built-in formatter
- compile functional code to WebAssembly for the browser
- a memory-safe language that runs faster than Go or Java without manual memory management

## Features

- compiles to machine code or WebAssembly
- complete type inference with a sound type system
- no null exceptions
- single-paradigm functional language with few primitives
- automatic memory management and memory safety
- asynchronous I/O through a lightweight state machine
- built-in formatter and toolset
- the full compiler runs in the browser

## Limitations

- Roc is a work in progress, with no stable release yet: its first release candidate, 0.1.0 RC1, came out in November 2026.[^1]

## Trust

Overall: 0.27 out of 1.
Signals: backing 0.30, extensibility 0.00.

- backed by Roc Programming Language Foundation

Warnings:

- GitHub activity not fetched yet

## Alternatives

- [Elm](https://talira.ai/catalog/elm-kcaweseq.md): A delightful language for reliable webapps
- [OCaml](https://talira.ai/catalog/ocaml-r6d5qbvf.md): An industrial-strength functional programming language with an emphasis on expressiveness and safety
- [Haskell](https://talira.ai/catalog/haskell-jjq1dx6f.md): Enjoy long-term maintainable software you can rely on
- [Gleam](https://talira.ai/catalog/gleam-ywzz9yr6.md): A friendly language for building type-safe systems that scale
- [Dart](https://talira.ai/catalog/dart-3askvstd.md): An approachable, portable, and productive language for high-quality apps on any platform
- [Elixir](https://talira.ai/catalog/elixir-edq5dfnt.md): Simple from zero to scale

## Sources

[^1]: https://www.roc-lang.org/install (checked 23 Nov 2026)
[^2]: https://github.com/roc-lang/roc/blob/main/LICENSE (checked 23 Nov 2026)
[^3]: https://www.roc-lang.org/friendly (checked 23 Nov 2026)
[^4]: https://www.roc-lang.org/ (checked 23 Nov 2026)
