| Crates.io | cardinal-uxn |
| lib.rs | cardinal-uxn |
| version | 0.4.5 |
| created_at | 2025-07-25 09:14:09.28931+00 |
| updated_at | 2025-08-24 06:02:15.61943+00 |
| description | Uxn CPU interpreter |
| homepage | |
| repository | https://github.com/davehorner/cardinal |
| max_upload_size | |
| id | 1767327 |
| size | 146,080 |
Cardinal is a fork of Raven an independent re-implementation of the Uxn CPU and Varvara Ordinator.
The Uxn/Varvara ecosystem is a personal computing stack.
Cardinal is my personal stack for the Uxn/Varvara ecosystem.
For details on project origins, see Raven's project writeup.
The cardinal-uxn crate includes two implementations of the Uxn CPU:
#[no_std] crate written in 100% safe Rust, with a
single dependency (zerocopy). It is 10-20% faster than
the reference implementation
for CPU-heavy workloads (e.g.
fib.tal,
and
mandelbrot.talaarch64 assembly (with Rust
shims on either side), and runs 40-50% faster than the reference
implementationThe native interpreter can be checked against the safe interpreter with fuzz testing:
cargo install cargo-fuzz # this only needs to be run once
cargo +nightly fuzz run --release fuzz-native
The Varvara implementation (cardinal-varvara) includes all peripherals, and has
been tested on many of the
flagship applications
(Left, Orca, Noodle, Potato).
The repository includes two applications built on these libraries:
cardinal-cli is a command-line application to run console-based ROMscardinal-gui is a full-fledged GUI, which runs both as a native application and
Raven on the webThe web demo is built with truck, e.g.
cargo install --locked trunk # this only needs to be run once
cd cardinal-gui
trunk build --release --public-url=/projects/cardinal/demo/ # edit this path
technology from the past come to save the future from itself
July 2025 Changes
© 2024-2025 Matthew Keeter, David Horner Released under the Mozilla Public License 2.0
The repository includes ROMs compiled from the uxnemu reference
implementation, which are © Devine Lu Linvega and released under the MIT
license; see the roms/ subfolder for details.
we do not know what exactly will come of it