closedbit-coding | Release channel

Coding Studio

The compiler-focused lane for `.cbp`, checked 256-bit programming, `.cb` storage, `.cba` packages, `.cbl` libraries, `.dll` modules, and `.exe` exports.

Compiler workflow

Build source-free ClosedBit artifacts.

Use the web account for licensing, then compile locally through the Windows Studio Console and artifact toolbar.

Programs

Write `.cbp` with functions, control flow, variables, strings, arrays, and 256-bit integers.

Storage

Use `.cb` containers through `CB-Storage` for validated save data.

Libraries

Compile reusable `.cbp` namespaces into `.cbl` packages.

Exports

Build `.cba`, `.exe`, `.dll`, Linux beta packages, encrypted `.cbe` outputs, and per-asset `.cb` / `.dll` sidecars.

Studio Console actions
help
check
save
compile cba small compute threaded max_memory 1024
compile exe small fps graphics threaded
compile exe small fps graphics threaded msi
compile dll small compute
compile linux chunky compute threaded
compile library small compute
encrypt
encrypt key_file keys\project.key
decrypt key_file keys\project.key
256-bit app
library CB-Math
library CB-Storage

fn main() {
    u256 score = (500_000 + 125_000) * 2
    CB-Storage.write_text("score.cb", to_string(score))
    println("score saved")
    save score
}
Console action or flagWhat it doesRequirement
helpShows the command list.No source file required.
checkRuns the source checker used before builds.Uses the current editor source.
saveSaves the current editor source.Requires an opened file or selected save path.
compile cbaBuilds a runnable `.cba` package.Uses the current editor source when no path is supplied.
compile exeBuilds a standalone Windows `.exe` with bundled runtime package data.Add msi to create an installer with ClosedBit's native MSI writer.
compile dllBuilds a loadable `.dll` package for host apps.Use when another app will load ClosedBit output.
compile linuxBuilds a Linux beta package folder with a `.cba`, Linux runtime launcher, compiled asset sidecars, and `run.sh`.Runs through the Linux beta runtime command.
compile libraryBuilds reusable functions into `.cbl`.No fn main() or top-level executable statements.
smallCompresses output for smaller files.Cannot stack with chunky.
chunkyUses a larger raw package to reduce launch memory spikes and page faults.Cannot stack with small.
aiSelects the tagged-index AI/retrieval profile.Cannot stack with fps.
fpsSelects the low-latency presentation profile.Cannot stack with ai.
computeSelects raw compute kernels for math and physics workloads.Best for non-UI heavy work.
graphicsSelects the Direct3D render path with fallback.Use for window and render APIs.
threadedEnables worker helpers.Needed before threads COUNT.
threads COUNTRequests 1 to 256 workers.COUNT must be a whole number.
max_memory MBSets a guarded private-memory budget.MB must be 1 to 1048576; ignored by uncapped.
usage_highTargets roughly 80% CPU pacing.Use for speed-focused builds.
uncappedRemoves runtime resource ceilings.Validation and checked overflow still stay on.
msiPackages the generated `.exe` as a Windows installer.Only valid with compile exe; created by ClosedBit's native MSI writer.
Runtime Package screenRuns before every `.cba`, `.exe`, `.dll`, and Linux package launch.Mandatory always-on Runtime behavior. There is no off switch in source, profiles, flags, or build options.
encryptProtects a `.cba` as an authenticated `.cbe` envelope.Auto-generates a key or accepts a 256-character key / key_file.
decryptRestores an encrypted package.Requires the matching key or key_file.