Next: Launching a Tor daemon for Goblins, Up: OCapN: The Object Capabilities Network [Contents][Index]
OCapN’s CapTP has an abstract “netlayer” interface, allowing communication over many different protocols ranging from Tor Onion Services to IBC to I2P to libp2p to perhaps carrier pigeons with backpacks full of encrypted MicroSD cards. Currently, Goblins only supports the Tor Onion Services netlayer.
Benefits of CapTP:
<-
and on
which means that most programs
that were originally designed for local-only computing
naturally scale out to a networked environment.
To re-quote Mark S. Miller:
Machines grow faster and memories grow larger. But the speed of light is constant and New York is not getting any closer to Tokyo.
All of these combine into an efficient and powerful protocol that, most powerfully of all, the author of Goblins programs need not think too much about. This circumvents the usual years and years of careful message structure coordination and standardization for many kinds of distributed programs, which can simply be written as normal Goblins programs rather than bespoke protocols.
Limitations of CapTP: