// a capability-secure language, now with a complete standard library
Centauri is a compiled, capability-secure, actor-concurrent programming language built in Rust. v2.0 rounds out the core language with dictionaries, functional list operations, graphics, sound, and LaunchControl — a fully capability-gated interface to the operating system.
cargo runCentauri compiles your source to bytecode and runs it on a Rust-native VM with a mark-sweep GC, an M:N actor scheduler, and a RASP security engine that intercepts every I/O call. capsules for objects, orbit for loops, explore/divert for errors.
v2.0 closes out the standard library: top-level fn functions, dictionaries, full string/list method sets, chainable .map()/.filter()/.reduce(), a math module, a gfx graphics canvas, an audio tone engine, and LaunchControl for permit-gated OS access.
// Centauri v2.0 — capability-secure language · Phase 10 system Telemetry { permit os.read("/data") permit net.transmit launch() { sensors = {"core": 5790, "hull": 12, "fuel": 88.4} for name in sensors.keys() { transmit(name + ": " + str(sensors.get(name))) } total = sensors.values().reduce(fn(a, b) { return a + b }, 0) transmit("avg: " + str(math.round(total / 3))) log = LaunchControl.ReadFile("/data/mission.log") transmit(log) } }
Three phases, shipped together: the core language is now expression-complete, the standard library covers collections and media, and the runtime can talk to the operating system without giving up capability security.
Top-level fn functions, full arithmetic and string-concat operators, and/or/not logic, for...in iteration, and a set of built-in functions you can call without a namespace prefix.
if/else if/else chaining, dictionary literals with .has()/.get()/.keys()/.values(), a full string and list method set, chainable .map()/.filter()/.reduce(), plus math, gfx, and audio modules.
A capitalized-method OS interface — Move, WriteFile, ReadFile, Run, Download, and more — gated by os.read/os.write/os.exec/os.net permits and screened through RASP's path checker.
Every language decision traces back to one idea: code should only be able to do what it was explicitly permitted to do.
permit declaration, checked statically before your program runs.super calls — a familiar OOP surface backed by a fast bytecode VM..has()/.get()/.keys()/.values(), plus chainable .map()/.filter()/.reduce() on lists.gfx canvas and audio tone engine — open a window, draw pixels, and play tones with no external dependencies.proc module exposes real OS threads, thread pools, and lock-free atomics for CPU-heavy workloads.RASP — Runtime Application Self-Protection — sits between your code and the operating system. It doesn't just check that a permit exists; it inspects every argument that crosses the boundary.
A vocabulary you can hold in your head. The full glossary lives in the docs.
Centauri v2.0 — Engineered by Blake Burns Technologies Inc.