Skip to content
Johnny-KaoPublic

About

Experimental boundary-validity runtime for ultra-low-overhead execution routing under constrained compute.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

1 star

Watchers

0 watching

Forks

AlpenCat

AlpenCat

An experimental, lightweight Rust execution runtime that maintains a calibrated routing boundary as available compute changes.

Latest tagged source: v0.4.0-alpha · Status: experimental alpha, not production certified · Toolchain: Rust 1.87+ · License: MIT OR Apache-2.0.

AlpenCat is not a general scheduler, telemetry engine, or online performance predictor. It separates low-overhead routing from bounded, explicitly requested measurement and resource-state notifications.

How it works

flowchart LR
  A["Application task"] --> B["PublishedBoundary + FastRoute"]
  B --> C["Serial / CPU / optional GPU"]
  D["OS affinity change or<br/>application notification"] --> E["ResourceEpoch++"]
  E --> F["Boundary becomes stale"]
  F --> G["Explicit bounded revalidation"]
  G -->|Observed local crossover| B
  G -->|No reliable evidence| H["Keep previous boundary stale"]
Loading

No automatic background recalibration is promised. The application can call initial calibrate_elapsed_map and, after resource invalidation, revalidate_elapsed_map. Measurement evidence is local and workload-specific. Linux has an optional process-affinity observer; on other platforms applications can signal changes using ResourceNotifier. Native Intel HFI/AMD CPPC event delivery remains an open research target.

Getting started

The repository is a Rust workspace. From a checkout containing the v0.4 alpha source:

cargo test -p runtime-api
cargo run -p runtime-api --example elapsed_sdk
cargo run -p runtime-api --example universal_quickstart
cargo run --manifest-path tests/external-consumer/Cargo.toml

For a separate Rust project, use the tagged source dependency:

[dependencies]
runtime-api = { git = "https://github.com/Johnny-Kao/AlpenCat", tag = "v0.4.0-alpha" }

For a concrete standalone application see tests/external-consumer. It calls public APIs, verifies results before and after notification, and exercises calibration/revalidation. The Rust workspace package version remains 0.1.0; the v0.4.0-alpha Git tag identifies a source release, not a published 0.4.0 crate.

Runtime architecture

flowchart TB
  App["External Rust consumer"] --> API["runtime-api<br/>public SDK, calibration, events"]
  API --> Core["runtime-core<br/>ResourceEpoch + PublishedBoundary"]
  API --> Select["runtime-selector<br/>FastRoute"]
  API --> CPU["runtime-cpu-rayon<br/>CPU execution"]
  API --> GPU["runtime-gpu-wgpu<br/>optional GPU"]
  API --> Machine["runtime-machine<br/>capability discovery"]
Loading
Path What it contains
crates/ Six active runtime crates
crates/runtime-api/examples/ Runnable SDK and research examples
crates/runtime-api/tests/ Integration, calibration, event and concurrency regression tests
tests/external-consumer/ Independent Cargo project (not a main-workspace member)
benchmarks/ Runtime hot-path and boundary-cost benchmarks
experiments/ Research and evidence analyzers, including historical experiments
tools/native-validation/ Passive hardware/OS validation utilities
docs/ Architecture, release notes, test evidence, roadmap and historical research
.github/workflows/ Release gates and supporting experimental workflows

Release and validation status

v0.4.0-alpha is signed off for its documented experimental scope at commit f775b528dca13024c915bcde698f7fafa04e7f5d:

The research branch can contain documentation or work beyond the tagged alpha; passing historical CI does not automatically validate later commits. Platform CI shows portable correctness on those runners, not generic performance superiority or native hardware notification support.

Documentation

Topic Link
Main documentation navigation Docs index
Folder layout and CI workflow inventory Project structure
Component boundaries and event lifecycle Architecture
Version history and source dependency Release notes
Tested revisions, job inventory and limitations Test evidence
Current status and future milestone criteria Roadmap
Frozen alpha release decision v0.4 sign-off
Vendor-native validation approach Native validation
Older experiments and falsified approaches Historical validation

Project principles

Correctness and reliable fallback first; bounded and explicit calibration rather than unbounded global inference; no background hot-path telemetry. Native vendor-specific event integration and production-readiness claims require independent physical-hardware and workload evidence.

The dated research reports remain available because negative and inconclusive experiments matter. No historical experiments or evidence scripts were deleted in the documentation reorganization.

Contributing and license

See Contributing, Security, MIT license, and Apache-2.0 license.

About

Experimental boundary-validity runtime for ultra-low-overhead execution routing under constrained compute.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages