roadmap

What the review read and ran

An appendix to the milestone.

The crate

partsfoundry/entropy_contract at 5150f14f781160debacd33310a6941f8829d958c, version 0.1.0-pre.1, a fresh clone of main. The tag v0.1.0-pre.1 names the same commit. The census of milestone 1129 (the combine review) counted the same commit. The lane read in full: Cargo.toml, README.md, CHANGELOG.md, docs/stranger-test.md, .github/mutants-exempts and the library part of src/lib.rs (lines 1 to 545 of 1,074). It read the test module and the verification module for their lists of tests and harnesses.

The commands

Each command below ran in the entropy_contract clone on a Linux x86_64 host, with rustc 1.100.0 and the build directory kept outside the clone. git status --short showed the clone clean afterward.

A scratch program that depends on the crate by path printed:

A second scratch file did not compile, with these four errors, as expected:

The search for a comparator

On 2026-11-26 (UTC), https://crates.io/api/v1/crates?q=<words>&sort=recent-downloads&per_page=8 for each of: "entropy service", "entropy protocol", "virtio rng", "random bytes ipc", "entropy source", "rng service", "getrandom", "entropy no_std", "hwrng" and "random device driver". No result defines the words two processes exchange to move random bytes. getrandom and virtio-drivers became the neighbors. The lane measured rand_jitter 0.6.1 (7,761,227 downloads in 90 days) and rdrand 0.9.0 (5,313,118) and set them aside, since each is a source of bytes and not an exchange. It saw arcbox-virtio-rng 0.11.3 (1,178) and did not read it: it is the device's side of VIRTIO, inside one virtual machine monitor.

The neighbors and the integration target

The lane downloaded each .crate file from static.crates.io at the version the block's table gives, and unpacked each apart from the others.

The systems outside crates.io

The Linux files are GPL and the Hubris files are MPL-2.0; the review read them for the shape of what they publish only.

The benchmark

One scratch crate, release profile, depending on the crate by path and on getrandom at =0.4.3, run with cargo run --release on a Linux x86_64 host (Intel Xeon Platinum 8160 at 2.10 GHz, 80 threads, rustc 1.100.0). The loop starts at 64 repeats and doubles until a pass lasts 50 ms. It then runs seven passes and reports the lowest divided by the count. The buffer and each result pass through black_box.

buffer fill_with, stubbed CALL one stubbed call getrandom::fill
32 bytes 23.1 ns 12.4 ns 90.1 ns
4,096 bytes 2,647.5 ns 1,352.0 ns 7,298.5 ns

The contract's own packing comes to 2,647.5 ns over 512 round trips, about 5 ns each. A 32-byte key takes 4 round trips and a page takes 512.

Not run: the time of a real CALL. It needs the kernel the contract is written for, which this host does not run.

What the lane did not run