
Cyrus Programming Language
Cyrus is a high-performance systems programming language with explicit syntax and semantics, minimal abstraction and runtime, and manual memory management.
import (
std::mem::arena{ArenaAllocator},
std::mem::libc{LibcAllocator},
std::mem{Allocator},
std::libc{printf},
);
pub fn main() {
const allocator: Allocator = dynamic LibcAllocator.new();
var arena = ArenaAllocator.new(allocator, 16);
defer arena.destroy();
var x: int32* = arena.alloc(4);
@assert(x, "allocation failed");
*x = 10;
printf("x: %d\n", *x);
}Ancient Wisdom, Modern Power
Discover the foundational capabilities that make Cyrus fast, predictable, and expressive.
Explicitness
Explicit, predictable, human-readable code built around a procedural paradigm.
- Manual memory management
- No hidden control flow
- No hidden compiler rule resolution
Effect System
Track and manage side effects explicitly across your program, ensuring complete predictability and compile-time guarantees without hidden traps.
- Compile-time effect tracking
- Zero unexpected side-effect mutations
- Transparent caller-callee contracts
Comptime
Execute logic at compile time with zero runtime overhead, enabling powerful metaprogramming, type-safe code generation, and advanced configuration.
- Compile-time code execution
- Zero runtime reflection cost
- Type-safe template generation
Build Time
Lightning-fast ahead-of-time compilation powered by TinyC and CodegenC for debug builds.
- Deterministic build performance
- Fast debug builds
- Ahead-of-time compilation
Performance
Designed for high-performance programs where you need control over every instruction, with the absolute minimum abstraction cost possible.
- Manual memory management
- Zero garbage collector pauses
- Direct hardware-level efficiency
C Interoperability
Seamlessly call C functions and libraries directly from Cyrus, and vice versa, so you can take advantage of existing ecosystems or slowly move away from legacy C codebases easily.
- Native C ABI compatibility
- Bidirectional function calling
- Smooth legacy project migration
Get Started
Start building with Cyrus in minutes. It's easy to install and comes with comprehensive documentation.
Join the Community
Cyrus is open-source and community-driven. Get involved and help shape the future of the language.


