4 ms·
Currently the main contender for replacing Bitcoin Script / adding a new option is Simplicity (https://blockstream.com/simplicity.pdf https://blockstream.com/si
by xiphias2 8y ago
Currently the main contender for replacing Bitcoin Script / adding a new option is Simplicity (https://blockstream.com/simplicity.pdf https://blockstream.com/simplicity.pdf).
Simplicity is a typed, combinator-based, functional language without
loops and recursion, designed to be used for crypto-currencies and blockchain applications. It aims to improve upon existing crypto-currency languages, such as Bitcoin Script and Ethereum’s EVM, while avoiding some
of the problems they face. Simplicity comes with formal denotational
semantics defined in Coq, a popular, general purpose software proof assistant. Simplicity also includes operational semantics that are defined
with an abstract machine that we call the Bit Machine. The Bit Machine is used as a tool for measuring the computational space and time
resources needed to evaluate Simplicity programs. Owing to its Turing
incompleteness, Simplicity is amenable to static analysis that can be used
to derive upper bounds on the computational resources needed, prior to
execution. While Turing incomplete, Simplicity can express any finitary
function, which we believe is enough to build useful “smart contracts” for
blockchain applications.