Agent-first
Written for AI agents to read and write, rather than people.
Coming soon. Early preview, page in progress.
An agentic programming language. Written for agents rather than people, with a focus on speed.
Multiple ways to format the same logic
pub fn sum_slice(xs: &[i64]) -> i64 {
let mut acc: i64 = 0;
for idx in 0..xs.len() {
acc += xs[idx];
}
return acc;
}
Line-based diffs break when whitespace or surrounding context shifts.
Stable identifiers · Deterministic serialization
mod#core.math
fn sum_slice(p0: slice[i64]) -> i64 {
entry:
%acc0: i64 = const.i64 0
%len: u64 = slice.len p0
br loop(%acc0, 0:u64)
loop(%acc: i64, %i: u64):
%cond: bool = cmp.lt.u64 %i, %len
br.cond %cond, body, exit(%acc)
body:
%val: i64 = slice.get.checked p0, %i
%next: i64 = add.i64.wrap %acc, %val
%step: u64 = add.u64.nowrap %i, 1:u64
br loop(%next, %step)
exit(%out: i64):
ret %out
}
Explicit types, explicit overflow behavior, and one canonical representation.
mod#core.math / sum_slice / body
{
"op": "replace_instruction",
"target": "mod#core.math::sum_slice::body::%next",
"before": "%next: i64 = add.i64.wrap %acc, %val",
"after": "%next: i64 = add.i64.sat %acc, %val",
"verify_control_flow": true
}
Change functions, blocks, or instructions without fragile text replacement.
type_mismatch
{
"code": "type_mismatch",
"location": { "module": "mod#core.math", "fn": "sum_slice", "block": "body", "op": "%val" },
"expected_type": "u64",
"actual_type": "i64",
"note": "slice.get.checked requires an unsigned u64 index."
}
Each error carries a code, a location, expected and actual types, and related notes.
Opcode is a planned systems language for AI coding agents. Implementation is being built separately. This page documents the plan.
Written for AI agents to read and write, rather than people.
Designed to run fast.
Planned. Not available yet. Check back for updates.
Speed first. Readability last. The order is the design.
Target: competitive with optimized C, C++, Rust, and Zig. Measured, not claimed.
Static types. Validation of control flow, references, and ownership.
Compact canonical form. Reliable to generate and modify.
Deterministic compilation and execution.
Fast incremental builds where possible.
Binary size and memory efficiency.
Last. People can read it if needed.
A real statically typed systems language. Planned, not finished.
Signed and unsigned integers. Floats. Booleans. Arrays and slices. Structs and enums.
Functions and function pointers. Explicit control flow. Loops and recursion. Modules and imports.
Pointers and references. Static and dynamic allocation. Foreign function interfaces. System calls. Native executables. A practical standard library.
Research first. Then a minimal native compiler for Linux x86-64. Then systems features, tooling, measured optimization, testing, and a CLI with build, run, check, test, bench, inspect, fmt, and version. No download yet. Benchmarks will compare equivalent algorithms against C, Rust, and Zig where toolchains exist, with checksums and repeated trials. No speed claims until measurements exist.
Sample layout only. Numbers are placeholders. Real runs will replace this table.
Illustrative only. Updated with measured runs, checksums, hardware info, and toolchain versions.
Opcode is a planned agentic programming language from noncera, written for agents rather than people, with a focus on speed.
Implementation is being built separately. This page documents the plan and status.
Not yet. Opcode is still in progress. Email [email protected] if you want updates.
No claim yet. Speed will be shown with reproducible benchmarks or not claimed at all.
Ask about Opcode and when it will be ready.