Introduction

Rux is a fast, compiled, strongly typed, and multi-paradigm programming language designed for clarity, safety, and performance. It combines expressive high-level constructs with predictable low-level control, so the same language scales from command-line tools and libraries to applications and services.

Rux is in early development. The work happens in the open across several GitHub repositories — compiler, website and documentation, package manager, and code-editor support — all released under the permissive MIT license. The language is actively evolving and improving with every release.

Please note that Rux is still in active development. As the language matures, some syntax and features may evolve, so the documentation may change over time.

Design Goals

  • Performance — Rux compiles to native machine code with no hidden runtime overhead.
  • Safety — A strong static type system catches errors at compile time.
  • Clarity — Syntax is regular and readable; the language avoids implicit surprises.
  • Multi-paradigm — Rux supports procedural, object-oriented, and functional styles.
  • Ergonomic tooling — A single rux binary handles compilation, packaging, formatting, and more.

These goals rest on a few guiding principles: performance matters, developer experience matters, readable code scales, tooling should be first-class, and simplicity beats unnecessary complexity.

Hello, World

import Io::Print;

func Main() -> int {
    Print("Hello, World!");
    return 0;
}

Main is the entry point of every executable, and import brings Print from the standard library's Std::Io module into scope.

Where to Go Next