Skip to content
@stitch-rs

stitch-rs

Stitch Organization

Rust: 2024 Edition License: MIT OR Apache-2.0 GitHub

Monomorphic, Zero-Allocation Systems Architecture & High-Performance Data Engineering for Rust.
Home of the Sewing Machine Architecture (SMA), Adaptive Data Layouts, and Microsecond Wire Protocols.


Welcome to Stitch (stitch-rs)

Stitch is a high-performance, modular systems engineering platform designed to eliminate runtime allocation overhead, virtual dispatch (Box<dyn ...>), and cache thrashing across data transformation, network framing, and transactional execution pipelines.

Rooted in the Sewing Machine Architecture (SMA), Stitch decomposes complex workflows into strictly bounded, cache-aligned U-cycles with zero runtime cost.

Core Architectural Pillars

  • The Monomorphic U-Cycle (SMA): Zero dynamic dispatch, total function contracts on ascent, and full compiler inlining across execution chains.
  • The Scrooge Systems Mindset: Mechanical sympathy to 64-byte L1D cache lines, packed memory layouts, elimination of pointer chasing, and empirical Criterion benchmark validation.
  • Strict no_std Isolation: Embedded-first and realtime-ready core kernels without mandatory heap allocations or hidden runtime barriers.
  • Pure Orthogonal Separation: Clean decoupling of policy from mechanism, memory layouts from payload codecs, and transport from data structures.

Ecosystem Repositories

Repository Status Description Primary Role
stitch Active Official facade meta-crate (use stitch::prelude::*;), unified entry point, and ecosystem prelude. Unified Facade & Meta-Crate
stitch-framework Active Canonical Sewing Machine Architecture (SMA) engine, sealed monomorphic execution chains, U-cycle traversal, macros, and CLI. Monomorphic Execution Kernel
stitch-data Active High-density data layout & transformation engine: AoS/SoA columnar blocks, SIMD Delta/RLE/BitStream codecs, feature masks, and derive macros. Data & Transformation Engine
stitch-wire Planned Microsecond wire framing, streaming resync parser, hardware Castagnoli CRC32, and UDP/TCP/IPC transport bus. Framing & Transport Bus

Quickstart: The Stitch Paradigm

1. Monomorphic Execution Pipeline (stitch-framework)

use stitch::prelude::*;

let pipeline = Pipeline::on_terminal(RecordTerminal::new())
    .wrap(CrcLayer::new())
    .wrap(TelemetryLayer::new());

let outcome = pipeline.dispatch(&mut blackboard, payload)?;

2. High-Density Schema & Layouts (stitch-data)

use stitch::data::prelude::*;

#[derive(StitchRecord)]
pub struct SensorReading {
    pub timestamp: u64,
    #[stitch(zigzag)]
    pub delta_temp: i16,
    #[stitch(bits = 4)]
    pub sensor_id: u8,
}

Contributing & Community Standards

All repositories under stitch-rs uphold strict engineering standards:


License

All official Stitch ecosystem projects are dual-licensed under MIT OR Apache-2.0.

Popular repositories Loading

  1. stitch-data stitch-data Public

    High-throughput data storage, columnar tables, and persistence adapters for Stitch

    Rust 1

  2. stitch-framework stitch-framework Public

    Core architectural framework and pipeline abstractions for the Stitch ecosystem

    Rust 1

  3. stitch stitch Public

    Monomorphic compile-time U-cycle pipeline framework for high-throughput zero-alloc systems

    Rust 1

  4. stitch-wire stitch-wire Public

    Wire protocol framing, zero-alloc packet serialization, and byte-level codecs for Stitch

    Rust 1

  5. .github .github Public

    Community health files and standard workflows for the Stitch ecosystem

    Shell

  6. stitch-channel stitch-channel Public

    Microsecond IPC, lock-free ring channel, and zero-copy shared-memory transport for the Stitch ecosystem

    Rust

Repositories

Showing 6 of 6 repositories

People

This organization has no public members. You must be a member to see who’s a part of this organization.

Top languages

Loading…

Most used topics

Loading…