Skip to content

Commit 38796c0

Browse files
author
Leo Louvar
committed
README: add immutability (immutable language, strength table, vs alternatives)
1 parent 9f8a253 commit 38796c0

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44

55
**Repository:** [github.com/Zixir-lang/Zixir](https://github.com/Zixir-lang/Zixir) · Created and maintained by **Leo Louvar**.
66

7-
Zixir is an **AI automation language** that bakes workflow orchestration, resource limits, and observability into one runtime—no Airflow + Redis + Prometheus glue. Small, expression-oriented, on a **three-tier runtime**: **Elixir** (orchestrator), **Zig** (engine), **Python** (specialist).
7+
Zixir is an **immutable AI automation language** that bakes workflow orchestration, resource limits, and observability into one runtime—no Airflow + Redis + Prometheus glue. Small, expression-oriented, on a **three-tier runtime**: **Elixir** (orchestrator), **Zig** (engine), **Python** (specialist).
88

9-
**Zixir is its own language** (own grammar and semantics), implemented with Elixir, compiling to Zig, and calling into Python. You write `.zixir` source; it is not Elixir or Zig syntax.
9+
**Zixir is its own language** (own grammar and semantics), implemented with Elixir, compiling to Zig, and calling into Python. You write `.zixir` source; it is not Elixir or Zig syntax. **Zixir is immutable by design**: variables cannot be reassigned, so code is easier to reason about and less prone to bugs than in mutable-by-default languages.
1010

1111
**Who it's for:** Developers and teams building AI automation, agentic workflows, and ML pipelines who prefer a single, expression-oriented language and runtime over managing Airflow, K8s, Redis, and custom YAML. Best fit for engineers who like Elixir/FP, want pattern matching and type inference, and need built-in fault tolerance and observability without extra infra.
1212

@@ -18,6 +18,7 @@ Zixir is an **AI automation language** that bakes workflow orchestration, resour
1818

1919
| Strength | Trade-off |
2020
|----------|-----------|
21+
| **Immutable by default** (single-assignment; no in-place mutation) ||
2122
| Built-in caching (ETS + disk) ||
2223
| Pattern matching (native; unique among workflow tools) ||
2324
| Interactive REPL ||
@@ -60,6 +61,7 @@ Your code stays Zixir-only; the runtime is Elixir + Zig (engine/codegen) + Pytho
6061
| **Pattern matching** | ✅ Native ||||
6162
| **Interactive REPL** |||||
6263
| **Type inference** |||||
64+
| **Immutable** (no reassignment; safer, easier to reason about) |||||
6365
| **Native performance** | ✅ Zig NIFs ||||
6466
| **LSP Support** |`mix zixir.lsp` ||||
6567

0 commit comments

Comments
 (0)