Two Ways to Compute a Checksum

Synthetic inspection stages: Read, Activate, Compare.

Compare two bounded executable examples and their source changes.

Two Ways to Compute a Checksum

Compare two bounded executable examples and their source changes. This article belongs to the synthetic M7 After inspection collection; its numbers, experiments, and local materials are fictional.

Compare a deliberately tiny checksum

Both executable examples return 42: the Python example sums six small values, while the prepared module exposes a constant result. This is a toy comparison, not a cryptographic checksum implementation.

Python playgroundvalues = [2, 4, 6, 8, 10, 12] print(sum(values) % 256)Running this owner-authored example can contact network destinations and disclose your network address and request data. It has no blog or owner privileges. Browser network rules apply. Stop or close it to end this session.Execution is opt-in and remains subject to browser/resource verification.

<CodePlayground language="rust" wasmMediaId="eed52faa-0030-423b-a426-077a52f2b5dd" wasmVersion={1} displaySource="#[no_mangle]\npub extern "C" fn run() -> i32 { 42 }\n// Explanatory equivalent of the prepared fixture; no browser compilation." />

Loading current public media…Before source · After source
ExampleExpected result
Python toy checksum42
Prepared WASM42

The diff is a separate configuration-reader refactoring. Comparing independent surfaces on one page helps identify which control belongs to which example.

Continue inspecting

A Tiny Prepared Rust Module offers another combination. Browse all showcase posts.