Skip to main content

Module implementation

Module implementation 

Source
Expand description

A proof: something that answers a proposition.

An implementation is not the code — it is the claim that some code, in some environment, answers a particular signature, together with what that costs. The code itself lives wherever the environment says.

A signature may have any number of these. That is the arrangement the whole system is built around: sort can be proved by a Rust mergesort and a Python bubble sort at the same time, and choosing between them at the moment of the call is a policy decision rather than an architectural one.

Structs§

ImplId
What an implementation is called.
Implementation
A claim that something proves a proposition.
Manifest
A set of implementations declared together, as a file or a message.

Constants§

MANIFEST_VERSION
The manifest format this build reads and writes.

Functions§

trivial_cost
A cost profile for something that does no real work.