Skip to content
Dan Connolly edited this page May 15, 2020 · 16 revisions

Welcome Visitors!

Let's build a Pattern Language for object capability (ocap) patterns, especially their use in secure JavaScript and Rholang.

E in a Walnut by Marc Stiegler in 2000 is one of the earliest and best works containing a selection of ocap patterns.

The A Rholang tutorial by Mike Stay and the rchain core team in 2018 shows how to use several of them in Rholang.

What about [my langauge]?

If your language has memory safety and encapsulation, and you can keep the global namespace to immutable data, you should be able to use object capability discipline.

See the Programming Languages section for pony, scala, scheme (racket), and more.

CapnProto can be used for cross-language interop within or between processes. Likewise, CapTP goes between vats.

Clone this wiki locally