hypercpu 0.0.2

Distributed symbolic computation
Documentation
  • Coverage
  • 100%
    34 out of 34 items documented0 out of 27 items with examples
  • Size
  • Source code size: 34.12 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 7.28 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 16s Average build duration of successful builds.
  • all releases: 16s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • frqubit/distcpu
    1 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • carlosskii

HyperCPU

WARNING: This library is nowhere near a stable version. Do not use this crate yet.

HyperCPU is a distributable symbolic computation library written in Rust. Thanks to Rust's type system, HyperCPU can perform calculations on values that are not yet known. This allows for distributed computation for tasks that would otherwise be impossible to parallelize, like conditional branching.

Example

Basic

use hypercpu::prelude::*;

let a = 1;
let b = 2;

let c = Add::new(Mul::new(b, 5), a);
let c = c.resolve().await;

assert_eq!(c, 11);

With operators

use hypercpu::prelude::*;

let a = Value::new(1);
let b = a * 2;
let c = b + 3;

assert_eq!(c.resolve().await, 5);

Stability

HyperCPU is still in very early development. It will be a component of the Circe Project, which is also in early development.

License

HyperCPU is licensed under the MIT License OR Apache License 2.0.