Concept Map
Ownership Is Spelled For The Caller
Most Sifr function parameters borrow by default:own only when the function’s contract is consumption:
mut when the function mutates caller-owned state:
There are no lifetime annotations in Sifr source. The compiler still enforces the lifetime and move constraints before emitting Rust.
Option And Result Stay Visible
Sifr uses union syntax for optional values:Result[T, E]:
try/except is the source-level pattern for consuming a Result:
Inspect The Rust When You Need To
Usesifr emit to inspect generated Rust:
Async Is Structured
Sifr’s async model does not expose a global event loop as the unit of design. Tasks belong to scopes, and scopes wait for children to finish or cancel.Where To Go Next
Ownership and Mutability
See the complete source-level ownership table.
Check and Emit
Use
sifr check and sifr emit during development.Concurrency Overview
Learn scoped tasks, cancellation, and task-boundary ownership.
Build and Run
Compile and run native binaries.
