Roc version 0.1.0, eight years in the making
Web page · https://rtfeldman.com/roc-0.1.0
First seen by Oriel on .
AI summary
Roc 0.1.0 is the first numbered release of an eight-year-old functional language, combining purity inference, static dispatch, compile-time evaluation, and fast native or WebAssembly builds.
- Roc aims for build times faster than Go and runtime performance approaching Rust, while using automatic memory management and stricter memory-safety guarantees.
- Benchmarks across community projects show roc-deflate within a median 2.6% of libdeflate on an M1 MacBook Pro and 8.9% on a Ryzen 3900X; other comparisons have workload-specific caveats.
- The compiler supports standalone binaries with hot reloading and WebAssembly, and offers roc check, development builds, and test runs with caching for fast feedback.
- Effectful functions use names ending in ! and can only be called from other effectful functions; the compiler infers and enforces purity boundaries.
- Pure functions can run during compilation, allowing errors such as invalid regex patterns to be reported by roc check before the program runs.
#roc #functional programming #compiler design #webassembly
Generated by gpt-5.6-sol. Check the original for details.
Metric trends
Last 30 days · Up to 120 recorded samples per source and metric, with reposts kept separate · First and latest retained
Points
Score reported by the source.
- Hacker News: 477, latest observation ; +436 over observed period since
- Lobsters: 191, latest observation ; +188 over observed period since
Comments
Comment count reported by the source.
- Hacker News: 131, latest observation ; +127 over observed period since
- Lobsters: 52, latest observation ; +52 over observed period since
Aliases
| Source | External ID | URL |
|---|---|---|
| Hacker News | 50698834 | https://rtfeldman.com/roc-0.1.0 Read discussion |
| Lobsters | bbo39t | https://rtfeldman.com/roc-0.1.0 Read discussion |