JoshOrndorff / librho

A Standard Library for Rholang
Apache License 2.0
12 stars 6 forks source link

Idioms for creating object capabilities #20

Open JoshOrndorff opened 5 years ago

JoshOrndorff commented 5 years ago

This PR compares and contrasts the following two idioms for creating object capabilities:

The code includes converters that work in both directions, but ultimately favors writing library contracts in the BYOchannel style because conversion is easier to write and faster to execute.