Rux Language

Fast, compiled, strongly typed, multi-paradigm programming language.
Hello/Src/Main.rux
import Io::PrintLine;

// Entry point of the program
func Main() -> int {
    let greetings = [
        "Hello World",
        "你好,世界",
        "नमस्ते दुनिया",
        "Hola Mundo",
        "Bonjour le monde",
        "مرحبا يا عالم",
        "হ্যালো বিশ্ব",
        "Привет мир",
        "Olá Mundo",
        "سلام دنیا",
        "Привіт світ",
        "🐯🐶🐱🐭"
    ];
    for greeting in greetings {
        PrintLine(greeting);
    }
    return 0;
}

Why Rux

Built for people who want the speed of native code without giving up clarity.
  • Native Performance
    Compiles straight to native machine code. No virtual machine, no interpreter, no garbage collector pauses.
  • Instant Toolchain
    Compiler, linter, package manager, formatter, and test runner — one small binary, zero dependencies.
  • Strong Types
    No implicit conversions, no surprises. Everything is checked at compile time and free at runtime.
  • Explicit Mutability
    Bindings are immutable until you write var. That choice runs deep — through struct fields and pointers.
  • Multi-Paradigm
    Imperative, functional, or data-oriented — pick what fits the problem, no forced style.
  • Hardware Access
    Inline assembly, raw pointers, and FFI. When you need the metal, Rux gets out of the way.
  • Clean Syntax
    Reads like pseudocode, compiles like assembly. No ceremony, no boilerplate.
  • Cross-Platform
    Build CLI tools, servers, and games for Linux, Windows, and macOS from the same source.
  • Dive into the language

Up and Running in Seconds

One small download gives you the compiler, linter, package manager, formatter, and test runner. No SDKs to chain together, nothing else to install.
50ms
Typical compile — no LLVM, no waiting.
1
Tiny binary for the whole toolchain.
0
Dependencies, VMs, or runtimes.
100%
Native machine code, full speed.

Works With Your Editor

Syntax highlighting and language support, wherever you write code.
Visual Studio Code

Get extension

Zed

Get extension

Sublime Text

Get package

Missing your editor?

Rux editor support is developed in the open, one repository per editor. Add the one you use.

Contribute support
NeovimComing soon
HelixComing soon
JetBrains IDEsComing soon

Build on what the community has published

The most downloaded packages in the Rux registry over the last 30 days.

Loading popular packages

Sponsors

Rux is free, open source, and developed independently. You could be the first.