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 trading systems, distributed cloud services, and real-time audio/video pipelines, 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 => this.shares.to_float() * this.price
format_summary() -> Str {
return fmt"Order #{this.id}: {this.shares}x {this.symbol} @ ${this.price} (Total: ${this.total_value()})"
}
}
// Dataflow 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 and zero-overhead memory footprint of Rust without writing 'a, 'b lifetime sigils.
- Instant Developer Feedback: Sub-30ms JIT evaluation and compilation via Cranelift.
- Production Peak Performance: Whole-program optimization, auto-vectorization, profile-guided optimization (PGO), and link-time optimization via LLVM AOT (
-O3 -flto). - Sandboxed Execution: Native WebAssembly (WASM SIMD) target with capability-guarded execution.
Every optimization pass in the forgen compiler pipeline (SROA, Mem2Reg, Bound-Check Elimination, LoopFold, CSE) produces formal mathematical proofs at the SSA DMIR intermediate representation level. Undefined behavior and out-of-bounds accesses are eliminated by construction.
Datara directly bridges foreign ecosystems with zero rewrite overhead:
- C / C++: Direct header parsing and native dynamic linking without manual glue code.
- Python: Direct CPython runtime integration with zero-copy buffer export for NumPy, PyTorch, and SciPy.
- Rust: Seamless consumption of crates via C-ABI and automated bindings.
- Node.js: Embedded V8/N-API bridging for full package ecosystem access.
Fine-grained execution control when standard stack and RAII allocation are not enough:
@arena,@pool, and@heapscope-level memory management with O(1) bulk destruction.- Structured inline assembly with two-way variable binding for performance-critical inner loops.
- Amortized O(1) string builder (
StrBuf) for high-throughput stream processing.
The Sparks package registry cryptographically signs package manifests using Ed25519 signatures and enforces fine-grained capability descriptors (.capabilities.json) to neutralize supply-chain attack vectors.
| 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 |
| Native Multi-Backend (JIT + AOT + WASM) | Yes | 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 | iexscoop bucket add datara https://github.com/datara-lang/scoop-bucket
scoop install datarabrew tap datara-lang/tap
brew install datarabrew tap datara-lang/tap
brew install dataragit clone https://github.com/datara-lang/aur-datara-bin.git
cd aur-datara-bin && makepkg -sicurl -fsSL https://raw.githubusercontent.com/datara-lang/datara/main/install.sh | shVerify your installation:
datara info| Repository | Role & Architecture | Tier | Stack |
|---|---|---|---|
| datara-lang/datara | Core systems language compiler (forgen), runtime, SSA DMIR optimizer & stdlib |
Core Toolchain | Rust, Cranelift, LLVM, C++ |
| datara-lang/sparks | Decentralized cryptographic package manager with Ed25519 capabilities | Ecosystem | Python, Cryptography, Rust |
| datara-lang/datara-grammar | Syntax highlighting grammars for VS Code, TextMate, and IDEs | Tooling | TypeScript, JSON, TextMate |
| datara-lang/homebrew-tap | Official Homebrew formula for macOS and Linux (Apple Silicon, Intel x64, Linux x64) | Distribution | Ruby |
| datara-lang/scoop-bucket | Official Scoop bucket for Windows command-line installation | Distribution | JSON |
| datara-lang/aur-datara-bin | Arch Linux AUR PKGBUILD for binary installation on Arch and Manjaro | Distribution | Bash |