0.1.3

3.18 What are Reach’s limitations?

Today, Reach is a powerful language for building decentralized applications, as demonstrated in the overview, the tutorial, and the workshop series. However, it has a lot of potential for growth. This section describes a few of these areas and gives brief sketches of our roadmap for directing this growth. We welcome your contributions on GitHub and on the Discord community to helping make these improvement plans come to fruition.

Connectors. Foremost, Reach is a consensus network-agnostic language, so one of our highest priorities is supporting a wide variety of platforms, including layer-2 abstractions over other layer-1 networks. Presently, we have a robust Ethereum backend and Algorand backend.

Backends. Presently, Reach has a robust backend for JavaScript that is well-suited for client-facing applications and JavaScript servers. However, we believe that many decentralized application developers would like to make use of languages like Go and Rust for their participants. Presently, this can be accomplished via the Reach RPC Server, but we’d like to build a dedicated backend for languages like these.

Computation. Reach’s computational language is based on JavaScript and contains many of JavaScript’s most desirable features, like arrow expressions, free-form objects, destructuring bindings, robust import and export specificiers, and so on. However, there are some differences that represent limitations, such as the inability to use functions as values at runtime and the need to be finite limits of data.

Verification. Reach’s verifier is robust in the face of many complex and interesting theorems about decentralized application behavior, but it is inherently conservative and does not presently allow users to manually prove theorems that are conservatively rejected.

Network Integration. Since Reach is consensus network-agnostic, it is not possible for Reach programs to directly integrate with network-specific features, such as observing the blockhash on Ethereum. Reach programs can instead interact with these low-level details of their chosen consensus network via remote object interaction.

Communication. Reach’s communication language has some limitations that we have plans to remove, which are discussed in Reach’s Roadmap, but there are some for which we do not have plans for removing. For example, we do not intend to support co-inductive or cyclic state, nor expose an arbitrary consensus heap to programmers.