Built with Nuxt and Vue.js, hosted on Cloudflare. Domain registered in 2024.
rux-lang.dev is built with Nuxt, hosted on Cloudflare. It measures traffic with Umami.
| Technology | Version | First seen |
|---|---|---|
| JavaScript Frameworks & Libraries2 | ||
| – | 7 Nov 2026 | |
| – | 7 Nov 2026 | |
| Frontend Build Tools & CSS1 | ||
| – | 7 Nov 2026 | |
| Web Servers, Languages & Backend Frameworks1 | ||
| CDN & Hosting1 | ||
| – | 7 Nov 2026 | |
| Analytics & Tag Management1 | ||
| – | 7 Nov 2026 | |
| Compiled-to-Web & WebAssembly1 | ||
| – | 7 Nov 2026 | |
| Fonts & Icon Fonts1 | ||
| – | 7 Nov 2026 | |
Registration from the registry's RDAP record, the certificate the site serves, and its rank in public traffic lists.
The crew hasn’t read this site’s colors yet. We read a palette when we capture a site’s screenshot, busiest sites first. Meanwhile, browse palettes from other sites.
Counted from every stack change we've recorded: of the sites we watched running one of this site's tools, how many went on to add another. A pattern across sites, not a forecast for this one.
mx02.mail.icloud.commx01.mail.icloud.comkeanu.ns.cloudflare.comaida.ns.cloudflare.comapple-domain=fZC15hxOAIN0Eih8google-site-verification=u7nR01PkNti6td1AGsNgOsEcYqH2cXv68PgD0VqPCesv=spf1 include:icloud.com ~allUser-agent: * Disallow: /packages/-/auth/ Disallow: /packages/-/dashboard/ Sitemap: https://rux-lang.dev/sitemap.xml
# Rux Programming Language
> Rux is a compiled, statically typed systems programming language. This site holds the Learn Rux course, the language reference, the CLI and packaging guides, and the standard-package API.
## Documentation Sets
- [Rux Programming Language — full documentation](https://rux-lang.dev/llms-full.txt): Every course lesson, reference, CLI, packaging and API page of rux-lang.dev as Markdown.
## Learn Rux
The course: getting started, 25 parts from Basics to Projects, one runnable program per lesson.
- [Learn Rux](https://rux-lang.dev/raw/docs/learn.md): A free, hands-on course that takes you from installing Rux to writing complete programs — 266 short lessons in 27 parts, each one a runnable package you can read, run and change.
- [Install on FreeBSD](https://rux-lang.dev/raw/docs/learn/install/freebsd.md): This guide explains how to install the Rux compiler on FreeBSD from the
prebuilt release tarball. There is no native pkg package yet.
- [Install on Linux](https://rux-lang.dev/raw/docs/learn/install/linux.md): This guide explains how to install the Rux compiler on Linux — using the
universal install script, your distribution's package manager, or the prebuilt
release tarball.
- [Install on macOS](https://rux-lang.dev/raw/docs/learn/install/macos.md)
- [Install on Windows](https://rux-lang.dev/raw/docs/learn/install/windows.md): This guide explains how to install the Rux compiler on Windows, either with the MSI installer or using Scoop, a command-line package manager for Windows.
- [Build From Source](https://rux-lang.dev/raw/docs/learn/build.md): This guide explains how to build the Rux compiler from source with CMake, Ninja, and Clang. It works on every platform Rux supports, including platforms without a prebuilt package.
- [Visual Studio Code](https://rux-lang.dev/raw/docs/learn/editors/vscode.md): Visual Studio Code is the recommended editor for Rux. The official Rux Language extension adds syntax highlighting for .rux source files.
- [Sublime Text](https://rux-lang.dev/raw/docs/learn/editors/sublime.md): The official Rux package for Sublime Text adds syntax highlighting for .rux source files.
- [Zed Editor](https://rux-lang.dev/raw/docs/learn/editors/zed.md): Zed is a fast, multiplayer code editor for macOS and Linux. The official Rux extension adds syntax highlighting for .rux source files.
- [Your First Project](https://rux-lang.dev/raw/docs/learn/first-project.md): Create a Rux package with rux new, print Hello, World, build and run it, read your first compiler error, and clone the Examples repository the course is built on.
- [Learn Rux with AI](https://rux-lang.dev/raw/docs/learn/ai.md): Use Claude Code, Codex or a chat assistant as a study partner for the Rux course — set them up with the right context, use ready-made prompts, and let the compiler check every answer.
- [Rux Cheat Sheet](https://rux-lang.dev/raw/docs/learn/cheatsheet.md): The syntax taught across the Learn Rux course on one page — bindings, types, control flow, functions, structs, variants, optionals, errors, generics, ownership and pointers — with a link to the lesson for each.
- [Basics](https://rux-lang.dev/raw/docs/learn/basics.md): First programs: printing, values and their types. Twelve short lessons that take you from Hello, World to every primitive type and how to convert between them.
- [Hello, World](https://rux-lang.dev/raw/docs/learn/hello.md): Print one line of text — the smallest complete Rux program.
- [Comment](https://rux-lang.dev/raw/docs/learn/comment.md): Write the three kinds of comment — //, /* */ and /// — and see that block comments nest.
- [Variable](https://rux-lang.dev/raw/docs/learn/variable.md): Name a value with let, and let the compiler infer its type from the value.
- [Mutable](https://rux-lang.dev/raw/docs/learn/mutable.md): Declare a variable that can change with var, and give it new values with =.
- [Integer](https://rux-lang.dev/raw/docs/learn/integer.md): Meet the integer types — signed and unsigned, from 8 to 512 bits, plus the machine-sized int and uint — and print the range each one holds.
- [Float](https://rux-lang.dev/raw/docs/learn/float.md): Store fractional numbers in float64, float32 and the float alias, meet the narrow and wide widths from float8 to float512, and see why a float is only ever an approximation.
- [Boolean](https://rux-lang.dev/raw/docs/learn/boolean.md): Hold a yes-or-no value with true, false and bool, and meet the sized boolean types.
- [Character](https://rux-lang.dev/raw/docs/learn/character.md): Write single characters with 'A', escapes and \u{...}, and meet char and the sized character types char8 to char512.
- [Literal](https://rux-lang.dev/raw/docs/learn/literal.md): Spell numbers in other bases, with digit separators, exponents and suffixes, and see how an unsuffixed literal takes the type of the value beside it.
- [Console](https://rux-lang.dev/raw/docs/learn/console.md): Write to the console with Print and PrintLine, and fill {} placeholders with values.
- [Const](https://rux-lang.dev/raw/docs/learn/const.md): Name a value the compiler works out before the program runs, and see where const differs from let.
- [Convert](https://rux-lang.dev/raw/docs/learn/convert.md): Convert between numeric, character and boolean types with as, keep only the low bits of an integer on purpose with Truncate, and see what a value that does not fit becomes.
- [Operators](https://rux-lang.dev/raw/docs/learn/operators.md): Combining values into new ones: arithmetic, comparison, logic and compound assignment, and the precedence that decides which operator applies first.
- [Arithmetic](https://rux-lang.dev/raw/docs/learn/arithmetic.md): Calculate with + - * / %, see why 17 / 5 is 3 for integers but 3.4 for floats, and wrap on purpose with +%.
- [Comparison](https://rux-lang.dev/raw/docs/learn/comparison.md): Compare two values with == != < <= > >= and get a bool back.
- [Logical](https://rux-lang.dev/raw/docs/learn/logical.md): Combine bools with && || !, and watch short-circuiting skip the right side once the left has decided.
- [Assignment](https://rux-lang.dev/raw/docs/learn/assignment.md): Update a variable in place with += and friends, and step it by one with ++ and --.
- [Precedence](https://rux-lang.dev/raw/docs/learn/precedence.md): Predict which operator applies first, how same-rank operators group left to right, and when to add parentheses.
- [Control flow](https://rux-lang.dev/raw/docs/learn/control-flow.md): Choosing and repeating: if and else if chains, if as a value, while, do-while, loop, for over ranges, break, continue, labels and match.
- [If](https://rux-lang.dev/raw/docs/learn/if.md): Run a block only when a condition holds, and pick between two blocks with else.
- [Else if](https://rux-lang.dev/raw/docs/learn/else-if.md): Choose among several cases with an else if chain, where the first condition that holds wins.
- [Ternary](https://rux-lang.dev/raw/docs/learn/ternary.md): Choose between two values inside an expression with an if value, if condition { a } else { b } — Rux's replacement for the condition ? a : b operator.
- [While](https://rux-lang.dev/raw/docs/learn/while.md): Repeat a block while a condition holds, testing it before every pass, so the body may run zero times.
- [Do-while](https://rux-lang.dev/raw/docs/learn/do-while.md): Run a loop body first and test afterwards with do { } while condition;, so the body runs at least once.
- [Loop](https://rux-lang.dev/raw/docs/learn/loop.md): Repeat with loop, which has no condition and ends only through break.
- [Break](https://rux-lang.dev/raw/docs/learn/break.md): Leave a loop early with break, and tell afterwards whether it ran.
- [Continue](https://rux-lang.dev/raw/docs/learn/continue.md): Skip the rest of one pass with continue, without leaving the loop.
- [Range](https://rux-lang.dev/raw/docs/learn/range.md): Describe a run of integers with a..b or a..=b, read its bounds, and spot an empty range.
- [For](https://rux-lang.dev/raw/docs/learn/for.md): Walk every value of a range with for name in range.
- [Label](https://rux-lang.dev/raw/docs/learn/label.md): Aim break and continue at an outer loop by giving it a label.
- [Match](https://rux-lang.dev/raw/docs/learn/match.md): Choose what to run by comparing one value against a list of arms, with | joining values that share an arm and _ for the rest.
- [Match expression](https://rux-lang.dev/raw/docs/learn/match-expression.md): Use match as an expression whose arms produce the value.
- [Functions](https://rux-lang.dev/raw/docs/learn/functions.md): Naming a piece of work and reusing it: parameters and results, early return, recursion, overloads, default arguments, generic functions and callbacks.
- [Function](https://rux-lang.dev/raw/docs/learn/function.md): Write functions that take typed parameters and give back a result, and call them from Main.
- [Return](https://rux-lang.dev/raw/docs/learn/return.md): Leave a function early with return, and write functions that have no result at all.
- [Recursion](https://rux-lang.dev/raw/docs/learn/recursion.md): Solve a problem with a function that calls itself, stopping at a base case.
- [Overload](https://rux-lang.dev/raw/docs/learn/overload.md): Give several functions one name and let each call's arguments choose between them.
- [Default argument](https://rux-lang.dev/raw/docs/learn/default-argument.md): Give a parameter a default value so calls can leave that argument out, and name an argument to skip the defaults before it.
- [Generic](https://rux-lang.dev/raw/docs/learn/generic.md): Write one function with a type parameter <T> that works for many types, inferred or given explicitly.
- [Callback](https://rux-lang.dev/raw/docs/learn/callback.md): Pass a named function to another function as a value, typed by its shape like func(int32) -> int32.
- [Sequences](https://rux-lang.dev/raw/docs/learn/sequences.md): Many values of one type and small groups of different ones: arrays, nested arrays, read-only and writable slices, variadic functions, tuples and destructuring.
- [Array](https://rux-lang.dev/raw/docs/learn/array.md): Store a fixed number of values inline in an int32[4], index them from zero, and see that copying an array copies every element.
- [Array repeat](https://rux-lang.dev/raw/docs/learn/array-repeat.md): Build an array of many equal elements with [0; 16], and see that the repeated value is evaluated only once.
- [Array nested](https://rux-lang.dev/raw/docs/learn/array-nested.md): Build a two-dimensional grid as an array of arrays, int32[4][3], and walk it by rows and by columns.
- [Slice](https://rux-lang.dev/raw/docs/learn/slice.md): Pass arrays of any length to one function through a read-only view, int32[..], and take views of part of an array with ranges.
- [Writable slice](https://rux-lang.dev/raw/docs/learn/writable-slice.md): Change an array's elements through a writable view, var int32[..], and see that a view's writability is separate from its binding's mutability.
- [Variadic](https://rux-lang.dev/raw/docs/learn/variadic.md): Write a function that takes any number of arguments with args: int32..., and spread a slice back into arguments with args....
- [Tuple](https://rux-lang.dev/raw/docs/learn/tuple.md): Group values without declaring a type, (int32, bool), reach the members with .0 and .1, and return several results from one function.
- [Destructure](https://rux-lang.dev/raw/docs/learn/destructure.md): Unpack a tuple into named bindings in one step with let (x, y) = pair;, including nested patterns and _.
- [Types](https://rux-lang.dev/raw/docs/learn/types.md): Declare types of your own: structs with named fields, references that borrow instead of copying, methods and constructors, enums, variants that carry data, aliases and function fields.
- [Struct](https://rux-lang.dev/raw/docs/learn/struct.md): Group named fields into a type of your own, and build values of it with a struct literal.
- [Reference](https://rux-lang.dev/raw/docs/learn/reference.md): Borrow a value with &T, so a function can read it without copying it.
- [Mutable reference](https://rux-lang.dev/raw/docs/learn/mutable-reference.md): Lend a value with &var T, so a function can change the caller's value in place.
- [Method](https://rux-lang.dev/raw/docs/learn/method.md): Give a type its own functions with extend, and call them on a value as value.Method().
- [Mutating method](https://rux-lang.dev/raw/docs/learn/mutating-method.md): Write methods that change the value they are called on, with a &var self receiver.
- [Constructor](https://rux-lang.dev/raw/docs/learn/constructor.md): Build values through a function named after the type, which can check or compute the fields.
- [Extension](https://rux-lang.dev/raw/docs/learn/extension.md): Add methods to a type you did not write, from int to the slice int[..].
- [Enum](https://rux-lang.dev/raw/docs/learn/enum.md): Declare a type whose values are a fixed list of named cases.
- [Enum value](https://rux-lang.dev/raw/docs/learn/enum-value.md): Give enum cases chosen numbers, and convert between a case and its number with as.
- [Variant](https://rux-lang.dev/raw/docs/learn/variant.md): Declare and build cases that carry data of their own.
- [Variant match](https://rux-lang.dev/raw/docs/learn/variant-match.md): Match a variant and bind the data its case carries.
- [Type alias](https://rux-lang.dev/raw/docs/learn/type-alias.md): Give an existing type a second name with type, and see why that name is not a new type.
- [Function field](https://rux-lang.dev/raw/docs/learn/function-field.md): Store a function in a struct field, so a value carries its behaviour with it.
- [Patterns](https://rux-lang.dev/raw/docs/learn/patterns.md): Everything a match arm can say: guards, ranges, tuples, named fields and characters, and why the compiler insists that a match covers every case.
- [Guard](https://rux-lang.dev/raw/docs/learn/guard.md): Add a condition to a match arm with pattern if condition =>, and fall through to the next arm when it is false.
- [Range pattern](https://rux-lang.dev/raw/docs/learn/range-pattern.md): Match a whole run of integers in one arm with 1..=9 => and 0..10 =>, and narrow a range with a guard.
- [Tuple pattern](https://rux-lang.dev/raw/docs/learn/tuple-pattern.md): Decide on several values at once by matching a tuple, with arms such as (0, 0) =>, (x, 0) => and (_, y) =>.
- [Struct pattern](https://rux-lang.dev/raw/docs/learn/struct-pattern.md): Take apart a variant case with named fields — .Circle { radius } => — binding, renaming, ignoring or testing each field.
- [Character pattern](https://rux-lang.dev/raw/docs/learn/character-pattern.md): Match character literals and escapes such as 'w' and '\n', and a whole class of characters with a range such as 'a'..='z'.
- [Exhaustive](https://rux-lang.dev/raw/docs/learn/exhaustive.md): See why a match on a variant must name every case, and why an integer match needs a _ arm.
- [Optionals](https://rux-lang.dev/raw/docs/learn/optionals.md): A value that may be absent: T?. Six lessons on none, presence patterns, fallbacks with ??, early exits with ?? return, passing absence up with ?, and int??.
- [Optional](https://rux-lang.dev/raw/docs/learn/optional.md): Write a value that may be absent as T?, with none for absence and a plain value becoming present on its own.
- [Presence](https://rux-lang.dev/raw/docs/learn/presence.md): Open an optional with match or if ... is: .Some(value) for a present value and none for absence.
- [Coalesce](https://rux-lang.dev/raw/docs/learn/coalesce.md): Replace absence with a fallback value using ??, which runs the fallback only when it is needed.
- [Coalesce exit](https://rux-lang.dev/raw/docs/learn/coalesce-exit.md): Leave a function or loop with ?? return, ?? continue or ?? break when an optional is absent.
- [Optional propagate](https://rux-lang.dev/raw/docs/learn/optional-propagate.md): Pass absence up to the caller with ? in a function that returns an optional.
- [Nested optional](https://rux-lang.dev/raw/docs/learn/nested-optional.md): Tell two kinds of absence apart with int??, an optional of an optional.
- [Errors](https://rux-lang.dev/raw/docs/learn/errors.md): Operations that can fail: -> T throws E. Sixteen lessons on throwing an error with throw, handling it with try and catch, passing it on with plain try, designing error types, and stopping the program with Panic and Assert when only a bug could be to blame.
- [Fallible](https://rux-lang.dev/raw/docs/learn/fallible.md): Return a value or throw an error with -> T throws E, where return value; is the success, and handle the error at the call with try and catch.
- [Fail](https://rux-lang.dev/raw/docs/learn/fail.md): Leave a function through its throws channel with throw, carrying an error that says what went wrong.
- [Unit fallible](https://rux-lang.dev/raw/docs/learn/unit-fallible.md): Write a throwing function with no success value, func F(...) throws E, which succeeds by reaching its end.
- [Outcome](https://rux-lang.dev/raw/docs/learn/outcome.md): Keep an outcome that must outlive its call in Core's Result<T, E>, then store, pass, build and match it through .Success and .Failure.
- [Discard](https://rux-lang.dev/raw/docs/learn/discard.md): See why a call that can throw cannot be left unmarked, and how to drop its error on purpose with try? F(); or try F() catch { _ => {} };.
- [Catch](https://rux-lang.dev/raw/docs/learn/catch.md): Recover from a failure with catch, giving one arm per error case.
- [Catch fallback](https://rux-lang.dev/raw/docs/learn/catch-fallback.md): Use try call catch { _ => fallback }, or (try? call) ?? fallback, to get the success or a default value.
- [Propagate](https://rux-lang.dev/raw/docs/learn/propagate.md): Hand an error to the caller with plain try, which keeps the success and passes the error on unchanged.
- [Error variant](https://rux-lang.dev/raw/docs/learn/error-variant.md): Design an error as a variant whose cases carry exactly the details each failure needs.
- [Error mapping](https://rux-lang.dev/raw/docs/learn/error-mapping.md): Pass an error to the caller as your own error type with try call catch { e => throw Mapped(e) }, adding context such as a line number.
- [Error sum](https://rux-lang.dev/raw/docs/learn/error-sum.md): Let one function throw either of two error types, throws DigitError | RangeError, and tell them apart with typed patterns in catch.
- [Fallible main](https://rux-lang.dev/raw/docs/learn/fallible-main.md): Declare func Main() throws E (or func Main() -> int throws E) so plain try works at the top level, and see that an error ends the program with exit status 1 without printing anything.
- [Absence to error](https://rux-lang.dev/raw/docs/learn/absence-to-error.md): Turn a missing value into an error that says what was missing, with option ?? throw.
- [Nested fallible](https://rux-lang.dev/raw/docs/learn/nested-fallible.md): Keep two meanings apart by nesting: -> int? throws E for "the next value, the end, or an error", and -> Result<int, E1> throws E2 for an answer that can itself be a failure.
- [Panic](https://rux-lang.dev/raw/docs/learn/panic.md): Stop the program at once with Core::Panic when something that cannot happen has happened.
- [Assert](https://rux-lang.dev/raw/docs/learn/assert.md): Check what the program relies on with Assert, kept in every build, and DebugAssert, which a release build removes.
- [Sum types](https://rux-lang.dev/raw/docs/learn/sum-types.md): A value that is one of several types: A | B. Five lessons on building sums, matching them by type and by subset, asking which member is active with is, and passing a smaller sum where a larger one is expected.
- [Sum type](https://rux-lang.dev/raw/docs/learn/sum-type.md): Store a value that is one of several types — int32 | bool — and see that a sum is a set of types, where order and duplicates do not matter.
- [Typed pattern](https://rux-lang.dev/raw/docs/learn/typed-pattern.md): Match a sum | – |
| 7 Nov 2026 |