You should try Gleam
Web page · https://nchagnet.eu/blog/you-should-try-gleam
First seen by Oriel on .
AI summary
The author argues that Gleam is a friendly, statically typed functional language worth trying, combining Rust-like types with BEAM concurrency and JavaScript compilation.
- Gleam uses immutable bindings, pipelines, algebraic data types, and a `use` pattern that flattens nested callbacks.
- Its recursive style relies on tail-call optimization for recursion whose final operation is another call; the article contrasts this with iterative Rust code.
- BEAM processes communicate through messages, while OTP supervisors can monitor and restart actors after failures.
- Compiling shared Gleam types to JavaScript and BEAM can keep frontend and backend data definitions aligned.
- The author’s team example suggests OTP could replace Kubernetes-managed services for some job-scheduling workflows, while noting that a sleep-based process shutdown workaround is unreliable.
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: 135, latest observation ; +116 over observed period since
- Lobsters: 66, latest observation ; +65 over observed period since
Comments
Comment count reported by the source.
- Hacker News: 133, latest observation ; +125 over observed period since
- Lobsters: 12, latest observation ; +12 over observed period since
Aliases
| Source | External ID | URL |
|---|---|---|
| Hacker News | 50424366 | https://nchagnet.eu/blog/you-should-try-gleam Read discussion |
| Lobsters | 4yqgpu | https://nchagnet.eu/blog/you-should-try-gleam Read discussion |