Handbook / What is StructOp?
Scope and roadmap
StructOp 0.1.0 is the first release. This page says what it covers, how that is verified, where each area stands today and what comes next, so that you can plan with it.
On this page
What version 0.1.0 covers#
| Area | In version 0.1.0 | Read more |
|---|---|---|
| Targets | C (C99 to C23) and Rust (editions 2018 to 2024) from the same declarations | C and Rust targets |
| Systems | macOS on Apple silicon and Intel; Linux on ARM64 and x86-64 | Downloads and installation |
| Lifecycle | init, validate, plan, apply, test, graph and state, with nine verified guarantees | Lifecycle guarantees |
| Providers | The core language, desktop windows and terminal games on both targets; bindings for C libraries and Rust crates; a community catalogue with signed approval | Configure providers |
| Tools and AI agents | Machine-readable output from nine commands, in a versioned format | Machine-readable output |
| Evidence | 209 documented projects, 195 of them on both targets, and a worked application built for C and for Rust | A worked application |
How it is verified#
Every figure on this site comes from StructOp’s own automated tests, which run on every change to the program.
| System | Status |
|---|---|
| macOS on Apple silicon | Verified natively |
| Linux on ARM64 | Verified natively |
| Linux on x86-64 | Qualification suite and installers verified under emulation |
| macOS on Intel | Verified under translation (Rosetta) on Apple silicon |
| Windows | A native build is in preparation |
Scope by area#
These notes describe version 0.1.0 as it is, so that a design fits it from the start.
| Area | Version 0.1.0 |
|---|---|
| Storage | Values, arrays, lists and byte buffers have declared sizes, checked at run time. Heap blocks grow and shrink while the program runs; every element access is checked, and a block is released when the program ends. |
| Concurrency | Workers run functions on their own threads with copied arguments and results. They share data only through atomic counters and flags, or through values guarded by a lock; validate refuses any other sharing. |
| Classes | Classes compose through interfaces. An interface is the type of a parameter; a method is called by a call ability. |
| Language | One declaration means the same on C and on Rust: the same output, and the same fault at the same place. That rule decides what belongs to the language, so everything in it works on both targets. A feature that only one of the two languages has, such as unions and bit-fields in C or generics and lifetimes in Rust, stays outside by design; a bound library or native code reaches it on that one target. |
| Portability | A project is portable when its providers exist for both targets. Inline C, some library bindings and some stored-pointer patterns belong to one target; validate says so before anything is built. Portability scope |
| Windows and lists | A list in a window adds rows; a view that changes is rebuilt, as the worked application’s report is. Windows are verified with scripted sessions, and structop test drives the command line. |
| Library bindings | structop bind writes a provider from a C header or a Rust crate and lists each function it leaves out, with the reason. C libraries and Rust crates |
| Modules | A module runs once where it is declared. Behaviour called from handlers is written as functions. |
| Text | Text has a declared size. On the C target, an expression that combines many text results copies some of them first. |
| Program results | A program reports through its output. A fault stops it with the file, line and column of the declaration; setting an exit status is outside 0.1.0. |
| Change views | The plan lists the abilities a change touches. For a change to a rule the whole application shares, the impact view marks the whole application. |
| Lifecycle | The guarantees cover the StructOp commands. Scope of the guarantees |
What comes next#
| When | What |
|---|---|
| In the 0.1.0 release | Installers for the systems above; heap blocks, workers, atomics and locks in the C and Rust providers 2.3.0; compiler messages mapped back to the declaration they come from; generated C built with optimisation, and faster file reading on the Rust target; a harness for comparing development with and without AI assistance |
| The release after 0.1.0 | Lending a block to a function and handing a block to a worker; guards for text and structs; faster loops in the Rust output |
| Continuing | More providers and catalogue examples; a native Windows build; native verification of every installer |
Dates are not given here: each item is released when it passes the same tests as everything above.