Roc version 0.1.0, eight years in the making
Richard Feldman has released version 0.1.0 of Roc, an Elm-inspired functional programming language designed for high performance and fast feedback loops.
read it The release post provides an in-depth look at Roc's architectural model, performance benchmarks, and ecosystem projects after eight years of development.
summary
Richard Feldman has announced the 0.1.0 release of Roc, a statically typed functional programming language in development since 2018. Roc aims to combine the ergonomics of Elm with near-native performance comparable to Rust and C through automatic memory management and compile-time optimizations. The post highlights community projects including web frameworks, game engines, and GUI libraries, proving its early production viability. It also details Roc's unique platform architecture, where I/O and runtime behaviors are decoupled from the core language and implemented via host runtimes.
key points
- Roc strictly enforces function purity using a naming convention where effectful functions must end with an exclamation mark.
- Performance benchmarks show roc-deflate achieving speeds within 2.6% to 8.9% of C's libdeflate across various systems.
- The language uses a platform model where core Roc handles pure logic while host languages like Zig, Rust, or Odin handle I/O and side effects.
who should read it
Functional programming enthusiasts, language developers, and engineers looking for high-performance alternatives to Rust or Elm.
discussion warm
consensus
Commenters are highly enthusiastic about the milestone, praising Roc's fast compilation, elegant error handling, and real-world utility for production apps and Advent of Code.
pushback
Some participants express initial confusion or skepticism regarding the platform architecture, questioning the necessity of decoupling core language logic from host-language I/O.
I'm the developer behind the screenwriting software mentioned in the post.
Roc has been so pleasant to use considered it's still so early.
I've read elsewhere a comment by Richard where he said that naive programming in Roc should result in fast code. That is very true. I basically enforce software design and architecture that allow for speed, and I don't have to worry about finagling the language into running fast.
It's very well thought out.
As a result Bliss Writer is correct and stable software, even in beta. I have a large suite of E2E tests that spin up a real TUI and they almost …
A production user provides valuable perspective, noting that naive Roc code naturally runs fast without requiring architectural gymnastics.
Generated by an LLM from the article and thread. Check the sources before relying on it.