Skip to content
@hale-lang

Hale programming language

Less language. More compiler. One language from a five-line script to a dynamic distributed system.

Hale

Less language. More compiler.

One language from a five-line script to a dynamic distributed system.

hale-lang.org · Guide · Playground · Packages · Features · Glossary

Hale is a compiled, general-purpose language. Every piece of state has one owner, and the parts of a program talk only over declared, typed message channels. That shape lets the compiler check a program's architecture the way it checks its types. It runs natively with no garbage collector and no borrow checker, and its concurrency has no locks and no data races.

Start here

  • Try it in the browser in the playground.
  • Install it with one line: curl -fsSL https://hale-lang.org/install.sh | sh
  • Read the guide at hale-lang.org/docs.
  • Read the compiler, runtime and spec in hale.

Repositories

Repository What it holds
hale The language: compiler, runtime, standard library, spec and guide
hale-lang.org The website, with the guide, examples and playground
pond Contributed libraries: HTTP, SQLite, WebSocket, routing, LLM agents, metrics and terminal UI
tree-sitter-hale The Tree-sitter grammar, for editors and highlighting
hlhub Hale highlighting on github.com, a browser extension whose core is written in Hale
bench Benchmarks, with a cross-language comparison and instructions to reproduce it
papers Two papers on capacity-allocation bounds in coordinated systems

Status

Hale is in prerelease. Syntax and artifact formats still change between releases, so pin a version if you depend on anything.

License

Apache 2.0 across the organization unless a repository says otherwise.

Popular repositories Loading

  1. hale hale Public

    The Hale programming language: general-purpose, native and memory-safe, from a five-line script to a dynamic distributed system. Less language, more compiler.

    Rust 40 2

  2. papers papers Public

    Two papers on capacity-allocation bounds in coordinated systems

    Python 2

  3. iris iris Public archive

    Archived — iris now ships inside the Hale compiler: hale-lang/hale/iris

    C 1

  4. voice voice Public

    Distributed inference API: one endpoint over local hosts and hosted providers, with routing, projects, budgets and rate limits

    TypeScript 1

  5. bench bench Public

    Hale benchmark suite — microbenches + cross-language comparative grid, with reproduction instructions

    C

  6. pond pond Public

    Hale's contrib libraries — the 'non-std std lib': http, sqlite, websocket, router, agent/LLM, metrics, TUI. Vendored per-project.

    Python 1

Repositories

Showing 10 of 10 repositories

People

This organization has no public members. You must be a member to see who’s a part of this organization.

Top languages

Loading…

Most used topics

Loading…