Description
Mach is a small, explicit systems programming language for compilers, kernels, runtimes, firmware and games, where performance matters and hidden behavior is a risk. It avoids hidden control flow, so there are no exceptions, destructors or overloaded operators, and execution goes where the code says. It also avoids hidden allocation: there is no garbage collector, and memory moves only when you move it. Types are written on the page, since nothing is inferred. A single toolchain binary builds, links, tests, formats, vendors dependencies and cross-compiles, so there is nothing else to install. The docs cover operating systems, constant-time cryptography and GPU compute and shaders. The runtime is a standard library module that the program imports. Mach is written in Mach itself. The install script puts the binary in your local bin folder on Linux and macOS, or in a user bin folder on Windows.…
Highlights
- No hidden control flow, allocation or inference
- One toolchain for build, test, format and cross-compile
- Written in Mach itself
- Targets operating systems, firmware, GPU shaders and games
- One-line install on Linux, macOS and Windows
Ratings & Reviews
No ratings yet
Be the first to rate Mach.
People also visit
Mach FAQ
What is Mach?
A small, explicit systems programming language for compilers, kernels, runtimes and games.
Does Mach hide any behavior?
The design avoids hidden control flow, exceptions, destructors, overloaded operators, garbage collection and inferred types.
How do I install it?
Run the curl install script on Linux or macOS, or run the irm install script in PowerShell on Windows.
Where is the source?
On GitHub under briar-systems, with a changelog and a releases page.
What are the best Mach alternatives?
Popular alternatives to Mach include One, Cowgol and Factor. See all Mach alternatives
