References#
This section documents the address system used throughout hyperactor to identify and communicate with distributed entities.
Hyperactor separates identity from reachability:
ProcId,ActorId, andPortIdare pure identities.ProcAddr,ActorAddr, andPortAddrpair those identities with aLocation.Addris the type-erased enum that can hold any of the three address forms.ActorRef<A>,PortRef<M>, andOncePortRef<M>wrap addresses with type information for public APIs.
The reference system is:
Uniform: All references follow a shared syntax and structure.
Parsable: References can be round-tripped from strings and manipulated programmatically.
Typed: While
Addris typeless and dynamic, typed references likeActorRef<A>andPortRef<M>allow safe interaction in APIs.Orderable: References implement a total order, enabling prefix-based routing and sorted maps.
In this section, we’ll cover: