The AI-First Compiled Programming Language
High-performance systems language with native GPU acceleration, advanced AI reasoning algorithms (ARL-Tangram), and comprehensive ML/AI capabilities. Compile to standalone executables with Rust-level performance.
Compile directly to optimized machine code with automatic thread detection for parallel builds. Produces single, dependency-free executables (~1.3MB) with Rust-level performance.
WGPU-based hardware acceleration with automatic device detection: dGPU → iGPU → CPU. Support for NVIDIA, AMD, Intel GPUs.
Pure Linea machine learning libraries for training and inference. Neural networks, optimizers, loss functions built-in. No external dependencies.
Advanced reasoning with adaptive compositional learning. Interpret complex patterns through semantic component decomposition and multi-layer attention.
Memory safety by design. No null pointers, no buffer overflows. Ownership-based memory management without garbage collection.
HTTP client, CSV/Excel processing, graphics visualization, markdown support, data preprocessing, and more. Everything you need out of the box.
Keep reusable `.ln` modules in `libs/` and import them directly in projects with a simple, consistent module workflow.
Build system-level tools with native file I/O, env variables, process execution, timing, and thread-aware runtime helpers.
First-class classes and objects with beginner-friendly syntax: obj x @ ClassName = Constructor(...), plus simple this/super usage.
Linea v4.14.3 adds stronger compiler reliability and DX: parser diagnostics now provide clearer expected-vs-found messages with hints, import validation fails early for missing modules and unknown selective-import symbols, and CLI success/failure output now uses bold green/red styling for clearer feedback.
for i from 1~10 step 2switch x { case 1: ... default: ... }var y = cond ? a : bvar y = if cond { a } else { b }if cond display "ok" else display "no"dsa::array_sum, dsa::array_max, dsa::linear_search, dsa::binary_search, dsa::bubble_sortptr datatype: var p @ ptr = x|a, b| => a + bmacro_rules! square(x) => x * x; square!(3)ml::loadGGUF, ml::loadONNX, ml::loadPTH, ml::loadMLXhash::sha256, hash::sha512, hash::md5, hash::withSaltsecurity::randomToken, security::passwordHash, security::passwordVerifydb::* mirrors secure SQLite APIs from sql::*fileio::readText, writeText, listDir, sizeByteslowlevel::bitAnd, bitOr, toBytesLE, fromBytesLEgit::status, git::currentBranch, git::log, git::add, git::commitfun::coinFlip, fun::rollDice, fun::randomEmoji, fun::chooseuuid::v4 and uuid::shortwebserver::serveText, serveJson, serveStaticframework::newProject, addRoute, runDevServerblockchain::merkleRoot, mineBlock, validateLinkgpu_tools::adapters, bestAdapter, hasIGPUmemory::alloc, writeU8, readU8, copy, statsclass, obj, Constructor(...), and explicit class-vs-datatype declaration rulesvideo::info, durationMs, probe, extractAudioaudio::durationMs, sampleRate, waveform, generateToneimage::dimensions, convertToGray, resizeNearestopencv::cannyMock, blurBox, detectFacesMockcamera::listDevices, snapshot, recordMockComprehensive reference for every Linea language feature with examples for each syntax element.
Explore Wiki →Understand the adaptive reasoning architecture with detailed explanations and examples.
Learn Algorithm →Check out what's new in each version and the roadmap for future releases.
View Releases →Compiled language with zero-cost abstractions. Get Rust-level performance with Python-like syntax.
Built from the ground up for machine learning. GPU acceleration included, no external ML frameworks needed.
Memory safe, type safe, and designed for production systems. Deploy with confidence.
Clean, expressive syntax inspired by Python. Comprehensive documentation and examples included.
Compile to standalone executables. No runtime, no dependencies, no Linea installation required.
Active development with regular releases. Planned features: macros, constraints, distributed training.