alpha · compiled · garbage-collected

Feels like TypeScript.
Ships as a native binary.

Zeus borrows the syntax you already know from TypeScript and compiles straight to native machine code via LLVM — no interpreter, no VM, no runtime tax. Automatic garbage collection and first-class editor tooling come built in.

Install

brew tap ameerthehacker/zeus && brew install zeus

macOS · Apple Silicon & Intel · Linux coming soon

Why Zeus?

The developer experience of TypeScript, the speed of native.

Zeus bridges the gap between developer experience and performance. Write code that feels like TypeScript, but compiles to blazing-fast native binaries.

TypeScript-Inspired

Familiar syntax for millions of developers. If you know TypeScript, you already know 80% of Zeus.

Native Compilation

LLVM-powered compilation to native machine code. No interpreter, no runtime overhead.

Automatic GC

Focus on your logic, not memory management. Precise garbage collection handles the rest.

IDE Ready

First-class Language Server Protocol support. Real-time diagnostics and completions in VS Code.

Quick example

Real classes, inheritance, dynamic dispatch.

If you have written TypeScript, this reads exactly how you would expect — inheritance and polymorphism included — but it compiles to a standalone native binary.

  • Single inheritance with extends
  • Overrides dispatched dynamically at runtime
  • Upcast a subclass to its base type
class Shape {
  public area(): i32 { return 0; }
}

class Square extends Shape {
  public side: i32;
  constructor(side: i32) { this.side = side; }
  public area(): i32 { return this.side * this.side; }
}

class Rect extends Shape {
  public w: i32;
  public h: i32;
  constructor(w: i32, h: i32) { this.w = w; this.h = h; }
  public area(): i32 { return this.w * this.h; }
}

// One function, any Shape — the override is chosen at runtime.
function areaOf(shape: Shape): i32 {
  return shape.area();
}

function main(): i32 {
  return areaOf(new Square(5)) + areaOf(new Rect(3, 4)); // 25 + 12 => 37
}

Ready to build with Zeus?

Install the compiler and ship your first native binary in minutes.