Skip to content
All guides

learn

What 1.0 ships

Buraaq 1.0 is the public language. You install one toolchain. You write .bq. You ship a native binary.

This is the ceremony: not a second language, not a container product, not a runtime you rent.

Install is one step

Pick what fits your machine:

PathNotes
winget install buraaqWindows, when the winget package is live
Release zip buraaq-*-windows-x64.zipExe + sysroot, no clone: Releases
.\install.ps1 / ./install.shFrom a clone; copies packaged dist/buraaq + sysroot
ext install ThoriumDC.buraaqVS Code / Cursor: can download CLI+sysroot on Windows; still needs clang

Full guide: Install.

Auto-import

In a project, unique std.* names import themselves. You stay in the program, not in use lists.

fn main() {
    println("Hello, Buraaq")
    println(42)
}

page, api, run, hold, zeros: same rule. Sibling modules still take an explicit use. Full story: modules.

Lists: [1, 2, 3] and ["a", "b"] (xs[i], xs.push, for x in xs). Maps: { "Asim": 30 }. Errors: raise / ? / ?? — not tagged Ok / Err. Generics: fn min[T] emits int / text / float / per-call-site struct copies (min / min__text / min__float / min__Pair).

Self-hosted compiler

The frontend: lexer, parser, names, MIR, LLVM emission: is written in Buraaq. A clone with clang links boot/stage0.ll and rebuilds that compiler. dist/buraaq is the product.

New names

You typeJobNot
std.streamLive frames, plus clip/shot filesWebSockets-as-a-library
std.gfxGame canvas and sound; play NOVA (stdlib/examples/nova.bq)An engine you rent
std.holdNamed columnsPandas
std.gridNumeric arraysNumPy
std.keelTLS APIs and pagesExpress / a framework
buraaq pack / ship / dockHashed .bur; live dock on :7422Docker image
buraaq add / indexIn-tree packages/index.jsonA hosted registry you must rent
buraaq fmt / lsp / debugFormat, language server, -gA second toolchain
buraaq / -e / scriptOptional clang shellA second dialect
std.led + buraaq flashBoard LED without CMakeVendor SDK in your tree
buraaq ai / std.aiMind: local models, serve, trainA notebook zoo in your project
buraaq ai strata / --strataStrata: GPU→RAM→NVMe residencyFit-in-VRAM-or-fail

Read Stream, Gfx, Hold, Grid, Scripting, Electronics, Mind, Strata.

Measured speed

Gate B, equivalent-n, Buraaq --release vs C++ -O2, clang 22. n was not reduced.

BenchnC++ -O2BuraaqRatio
nested_loop1e4²0.010s0.002s0.16×
integer_sum1e80.015s<0.001s0.00×
float_saxpy1e70.004s0.004s0.97×
numerical_loop1e80.083s0.084s1.01×
fib_iter1e80.020s0.021s1.02×

integer_sum is an Orbit fold of wrapping sum = sum * 3 + i (same n=1e8; n=10 checksum 44281). Four benches beat or match C++. Worst case published: fib_iter. Method: performance.

End-to-end apps

Walk one program from println to a live API: the banking CLI through the ledger as an app. Keel reconnects when a Neon pooler drops an idle connection. Pack a .bur on the same OS as the host. Secrets stay in host env (BURAAQ_DATABASE_URL), never in git.

Use it clean

Test on systems you own or are authorized to use. Do not abuse. Buraaq administration cooperates with agencies.

Next: Getting started.