Rust Concepts in Sifr
Translate
Option, Result, borrowing, mutation, and generated Rust into Sifr’s source model.Ownership and Mutability
Map
mut, own, and borrow-by-default to Sifr’s source model.Error Handling
See how
Result appears in Sifr syntax.Check and Emit
Inspect generated Rust with
sifr emit.Rust Interop
Expose Rust crates and bridge modules through checked Sifr declarations.
Interop by library
Walk through blake3 and reqwest before reading the full reference.
Build and Run
Compile Sifr into native binaries.
Learning Sequence
- Build the mapping: Rust Concepts in Sifr.
- Inspect generated code: Check and Emit.
- Learn source-level ownership: Ownership and Mutability.
- Review typed failures: Error Handling.
- Understand structured async: Concurrency Overview.
- Expose Rust-backed APIs: Rust Interop.
- Ship a binary: Build and Run.
Sifr is not a Rust macro language. The generated Rust is an implementation target you can inspect, while the Sifr source model remains the language contract.
