Skip to content
@datara-lang

The Datara Programming Language

Deterministic systems language: C speed, affine ownership without annotations, zero-GC, ed25519 packages
Datara Logo

The Datara Programming Language

Deterministic Systems & Application Language for the Modern Era

Datara Affine Memory Dual Engine Compiler Sparks Registry License

Quickstart • Code Tour • Core Pillars • Comparison • Ecosystem • Documentation


Overview

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.


Code Tour

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}")
}

Core Pillars

1. Affine Ownership Without Annotations

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.

2. Dual-Engine Compiler Architecture

  • 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.

3. Evidence Gate Formal Verification

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.

4. Universal Polyglot Interoperability

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.

5. Allocator Tiers & Systems Control

Fine-grained execution control when standard stack and RAII allocation are not enough:

  • @arena, @pool, and @heap scope-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.

6. Cryptographically Secured Package Ecosystem

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.


Architectural Comparison

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

Quickstart Installation

Install the complete Datara toolchain (forgen compiler, language server, and sparks package manager) with a single command:

Windows (PowerShell):

irm https://raw.githubusercontent.com/datara-lang/datara/main/install.ps1 | iex

Windows (Scoop):

scoop bucket add datara https://github.com/datara-lang/scoop-bucket
scoop install datara

macOS (Homebrew):

brew tap datara-lang/tap
brew install datara

Linux (Homebrew / Linuxbrew):

brew tap datara-lang/tap
brew install datara

Linux (Arch / Manjaro via AUR):

git clone https://github.com/datara-lang/aur-datara-bin.git
cd aur-datara-bin && makepkg -si

Linux & macOS (universal):

curl -fsSL https://raw.githubusercontent.com/datara-lang/datara/main/install.sh | sh

Verify your installation:

datara info

Official Organization Repositories

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

Maintained by the Datara Language Project • Licensed under Apache-2.0 / MIT

Pinned Loading

  1. datara datara Public

    Datara — deterministic systems language: C speed, ownership without annotations, zero-GC, ed25519 packages

    Rust 1

  2. sparks sparks Public

    The official decentralized, capability-native package registry for Datara. Statically served via GitHub Pages with ed25519 signatures and determinism receipts.

    JavaScript

Repositories

Showing 8 of 8 repositories

People

This organization has no public members. You must be a member to see who’s a part of this organization.

Top languages

Loading…

Most used topics

Loading…