A Modern Systems Programming Language
Aria is a statically-typed systems programming language with an LLVM backend, ownership-based memory safety, async/await, and a growing ecosystem of 74 packages. Designed for performance-critical applications and AI infrastructure.
Ownership system with borrow checker. No garbage collector, no leaks, no data races.
Generic functions and structs monomorphized at compile time. No runtime dispatch overhead.
Explicit pass/fail result types with the ? operator. No hidden exceptions.
Stackless coroutines with LLVM coroutine intrinsics. Async error propagation built-in.
Native NVIDIA CUDA/PTX code generation. Write GPU kernels in Aria directly.
Compile to .so shared libraries callable from C, Python, Rust, Go, and more.
// Aria: systems-level code with clean syntax
func:add = int32(int32:a, int32:b) {
pass(a + b);
};
// Template literals with &{expr}
func:greet = NIL(string:name) {
println(`Hello, &{name}!`);
};
// Extern FFI โ call any C library
extern "m" {
func:sqrt = flt64(flt64:x);
};
// Error handling entry point
func:failsafe = NIL(int32:code) { pass(NIL); };
func:main = NIL() {
int32:result = add(3, 4);
println(result); // 7
greet("World"); // Hello, World!
println(sqrt(144.0)); // 12.0
};
Install packages with aria-pkg install <package>.
All packages include C shims, Aria wrappers, and test suites.
| Package | Description | Version |
|---|---|---|
| ๐ Networking & Web | ||
| aria-http | HTTP client/server | 0.2.3 |
| aria-websocket | RFC 6455 WebSocket client/server (pure POSIX) | 0.2.6 |
| aria-socket | TCP/UDP socket primitives | 0.2.3 |
| aria-url | URL parsing and percent-encoding | 0.2.6 |
| aria-mime | MIME type detection (70+ types) | 0.2.6 |
| ๐ Data Formats | ||
| aria-json | JSON parser and serializer | 0.2.3 |
| aria-toml | TOML parser with dotted keys & tables | 0.2.6 |
| aria-yaml | YAML parser with indentation support | 0.2.6 |
| aria-xml | XML tag/attribute lookup and path queries | 0.2.6 |
| aria-csv | CSV reader/writer | 0.2.3 |
| ๐ Security & Encoding | ||
| aria-crypto | SHA-256, MD5, HMAC-SHA256 (no OpenSSL) | 0.2.6 |
| aria-hash | Hash functions | 0.2.3 |
| aria-base64 | Base64 encode/decode | 0.2.3 |
| aria-uuid | UUID v4 generation | 0.2.3 |
| ๐๏ธ Databases | ||
| aria-sqlite | SQLite3 embedded database | 0.2.3 |
| aria-postgres | PostgreSQL client | 0.2.3 |
| aria-mysql | MySQL/MariaDB client | 0.2.3 |
| aria-redis | Redis client | 0.2.3 |
| ๐ผ๏ธ Graphics & UI | ||
| aria-sdl2 | SDL2 bindings (windows, rendering, input) | 0.2.3 |
| aria-gtk4 | GTK4 UI toolkit bindings | 0.2.3 |
| aria-raylib | Raylib game framework bindings | 0.2.3 |
| ๐ ๏ธ CLI & System | ||
| aria-cli | ANSI colors, styles, progress bars, banners | 0.2.6 |
| aria-env | Environment variables, home/path/user helpers | 0.2.6 |
| aria-args | Command-line argument parsing | 0.2.3 |
| aria-fs | File system operations | 0.2.3 |
| aria-input | Interactive terminal input | 0.2.3 |
| aria-log | Structured logging | 0.2.3 |
| ๐ Data & Math | ||
| aria-math | Math functions | 0.2.3 |
| aria-rand | Random number generation | 0.2.3 |
| aria-regex | POSIX regex matching | 0.2.3 |
| aria-datetime | Date & time operations | 0.2.3 |
| aria-semver | Semantic versioning parse, compare, bump | 0.2.6 |
| aria-compress | zlib deflate/inflate, gzip/gunzip | 0.2.6 |
| ๐งฉ Core & Utilities | ||
| aria-str | String manipulation | 0.2.3 |
| aria-conv | Type conversions | 0.2.3 |
| aria-buf | Buffer operations | 0.2.3 |
| aria-vec | Dynamic arrays | 0.2.3 |
| aria-template | {{var}} string template engine | 0.2.6 |
| aria-color | Color manipulation | 0.2.3 |
| aria-display | Display formatting | 0.2.3 |
| aria-console | Console helpers | 0.2.3 |
| aria-test | Testing framework | 0.2.3 |
| aria-ascii | ASCII utilities | 0.2.3 |
Plus more: aria-bits, aria-clamp, aria-endian, aria-fixed, aria-freq, aria-gradient-field, aria-mux, aria-decision-t, aria-entangled, aria-resource-mem, aria-zigzag, aria-audio. See the full registry on GitHub.
Compile Aria to shared libraries with ariac mylib.aria --shared -o libmylib.so.
Functions export with C ABI โ no name mangling โ callable from any language with C FFI.
// Declared in Aria, called from C
extern int add(int a, int b);
int main() {
printf("add(3,4) = %d\n", add(3, 4));
return 0;
}
// gcc main.c -L. -lmylib -o main
import ctypes
lib = ctypes.CDLL('./libmylib.so')
lib.add.restype = ctypes.c_int
lib.add.argtypes = [ctypes.c_int, ctypes.c_int]
print(lib.add(10, 20)) # 30
# Add the AriaX APT repository
$ curl -fsSL https://packages.ariax.ai-liberation-platform.org/pubkey.gpg | sudo gpg --dearmor -o /usr/share/keyrings/ariax.gpg
$ echo "deb [signed-by=/usr/share/keyrings/ariax.gpg] https://packages.ariax.ai-liberation-platform.org stable main" | sudo tee /etc/apt/sources.list.d/ariax.list
$ sudo apt update && sudo apt install aria-tools
$ git clone https://github.com/alternative-intelligence-cp/aria.git
$ cd aria
$ cmake -B build -G Ninja -DCMAKE_BUILD_TYPE=Release
$ cmake --build build
$ ./build/ariac --version
# Aria Compiler (ariac) version 0.2.15
All repositories under github.com/alternative-intelligence-cp.
Compiler, runtime, LLVM backend, async runtime. The core.
74 ecosystem packages โ HTTP, databases, crypto, data formats, graphics, AI/ML, CLI tools.
Language guide, specification, tutorials, and API documentation.
VS Code extension, MCP server, and ecosystem utilities.
Build system โ aria.toml project config, dependency resolution, multi-file compilation.
Language specification, VS Code language support, and TextMate grammar.
APT repository for Debian/Ubuntu โ .deb packages for aria-tools, kernel, shell.
AI specialist model โ fine-tuned LoRA adapters for Aria code generation (Qwen2.5-7B).
Community resources โ examples, user-contributed packages, and projects.
Training data and evaluation corpora for Aria specialist AI models.
Compiler โ Aria source to native executables, .so libraries, LLVM IR, assembly, or PTX.
Language Server Protocol implementation for IDE integration.
Package manager โ install, search, and manage Aria packages.
Debug Adapter Protocol โ step debugging with breakpoints and variable inspection.
Documentation generator โ extract doc comments to HTML/Markdown.
Build system โ project configuration and multi-file builds via aria.toml.