Deterministic Systems & Application Language for the Modern Era
Quickstart • Code Tour • Core Pillars • Comparison • Ecosystem • Documentation
Datara unites the mechanical sympathy and sub-millisecond execution of bare-metal C and Rust with the syntactic elegance and developer velocity of modern languages.
Designed specifically for low-latency infrastructure, game engines, high-frequency systems, and distributed cloud services, Datara enforces automatic memory safety at compile time without a garbage collector and without the steep learning curve of manual lifetime annotations.
Here is what idiomatic Datara code looks like:
// Data-oriented record with affine ownership
class Order {
id: Int
symbol: Str
shares: Int
price: Float
}
// Behavioral extension: methods separated from raw state
behavior Order {
total_value() -> Float => shares.to_float() * price
format_summary() -> Str {
return fmt"Order #{id}: {shares}x {symbol} @ ${price} (Total: ${total_value()})"
}
}
// Pipeline transformation
fn apply_rebate(val: Float) -> Float => val * 0.98
fn main() {
let order = Order { id: 2048, symbol: "NVDA", shares: 50, price: 124.50 }
let final_cost = order.total_value() |> apply_rebate()
println(order.format_summary())
println(fmt"Discounted execution cost: ${final_cost}")
}
Datara tracks resource ownership and lifetimes automatically through static lexical regions. You get the deterministic deallocation guarantees of Rust without writing 'a, 'b lifetime sigils.
Every optimization pass in the forgen compiler pipeline (SROA, Mem2Reg, BCE, LoopFold, CSE) produces formal mathematical proofs at the SSA DMIR intermediate representation level. Undefined behavior is eliminated by construction.
- Developer Velocity: Instant 30–50ms JIT evaluation and compilation via Cranelift.
- Production Peak Performance: Whole-program optimization, auto-vectorization, and profile-guided optimization (PGO) via LLVM AOT (
-O3 -flto). - Zero-Trust Sandboxing: Native WebAssembly target with capability-guarded execution.
The Sparks package manager cryptographically signs package manifests using Ed25519 keys and enforces fine-grained capability descriptors (.capabilities.json) to prevent supply-chain vulnerabilities.
| Feature | Datara | Rust | C++ | Go |
|---|---|---|---|---|
| Zero Runtime GC Pauses | Yes | Yes | Yes | No (Stop-The-World) |
No Manual Lifetime Sigils ('a) |
Yes | No | Yes (Unsafe) | Yes (GC) |
| Deterministic IEEE-754 Floating Point | Yes | No | No | No |
| Sub-50ms Fast Developer Build Time | Yes (Cranelift) | No (Slow LLVM) | No | Yes |
| Evidence Gate Formal Verification | Yes (DMIR SSA) | No | No | No |
Native Dataflow Pipelines (|>) |
Yes | No | No | No |
| Capability-Guarded Package Sidecars | Yes (Sparks) | No | No | No |
Install the complete Datara toolchain (forgen compiler, language server, and sparks package manager) with a single command:
irm https://raw.githubusercontent.com/datara-lang/datara/main/install.ps1 | iexcurl -fsSL https://raw.githubusercontent.com/datara-lang/datara/main/install.sh | shVerify your installation:
datara version| Repository | Focus & Role | Version |
|---|---|---|
| datara-lang/datara | The core programming language compiler (forgen), runtime systems, and standard library. |
v1.2.0 |
| datara-lang/sparks | The official cryptographic package registry and dependency manager. | Active |
| datara-lang/datara-grammar | TextMate and editor syntax highlighting grammar for GitHub and VS Code. | v1.0.0 |