Skip to content
Dan Connolly edited this page Dec 2, 2021 · 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 language]?

If your language has memory safety and encapsulation, and you can keep the global namespace to immutable data, you should be able to use OCap 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, the CapTP NPM package provides promise-based RPC via any connection that can send and receive JSON strings.

Clone this wiki locally