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 Version 1.2.0 License Linguist PR

QuickstartCode TourCore PillarsComparisonEcosystemDocumentation


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


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

Core Pillars

1. Affine Ownership Without Annotations

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.

2. Evidence Gate Optimizer

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.

3. Dual-Engine Compiler

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

4. Cryptographically Secured Package Ecosystem

The Sparks package manager cryptographically signs package manifests using Ed25519 keys and enforces fine-grained capability descriptors (.capabilities.json) to prevent supply-chain vulnerabilities.


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

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

Linux & macOS (Bash):

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

Verify your installation:

datara version

Official Organization Repositories

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

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.

    Python

Repositories

Showing 4 of 4 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…