Skip to content
@hew-lang

Hew

Actor-oriented programming language for building long-lived services. Native compilation via LLVM.

Hew

A new language for resilient services.

Hew is a high-performance, network-native, machine-code compiled language for building long-lived services. Actor isolation, supervision trees, and wire contracts — compiled to native code through LLVM.

Get Started

  • hew.sh — Language website and documentation
  • hew.run — Online playground
  • HEW-SPEC.md — Language specification (v0.9.0)

Install

brew install hew-lang/hew/hew

Editor Support

  • VS CodeHew Language extension (syntax highlighting + LSP)
  • Vim / Neovimvim-hew syntax plugin
  • Tree-sittertree-sitter-hew grammar for Neovim, Helix, Zed, and other tree-sitter editors

Repositories

Repository Description
hew Compiler, LSP server, and language toolchain
tree-sitter-hew Tree-sitter grammar (authority syntax definition)
vscode-hew VS Code extension with syntax highlighting and LSP
vim-hew Vim/Neovim syntax highlighting
hew.sh Language website and documentation
hew.run Online playground
homebrew-hew Homebrew tap for macOS/Linux installation
examples Example programs and patterns

Design

Hew is built around four pillars:

  • Actor Isolation — Every actor owns its state. No shared memory, no data races. Compile-time capability checking ensures safety without runtime cost.
  • Supervision Trees — Services crash — Hew expects it. Supervisors restart failed children with configurable strategies.
  • Structured Concurrency — Tasks are scoped to their parent. Cleanup is automatic and deterministic.
  • Wire Contracts — Network protocols are first-class types with schema evolution rules enforced at compile time.

License

Apache 2.0

Pinned Loading

  1. hew hew Public

    A statically-typed, actor-oriented programming language for concurrent and distributed systems.

    Rust 1

Repositories

Showing 7 of 7 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…