From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by lists.linuxfoundation.org (Postfix) with ESMTP id F222FC000E for ; Tue, 24 Aug 2021 13:17:57 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id E7CA340462 for ; Tue, 24 Aug 2021 13:17:57 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org X-Spam-Flag: NO X-Spam-Score: -0.64 X-Spam-Level: X-Spam-Status: No, score=-0.64 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, KHOP_HELO_FCRDNS=0.276, RDNS_DYNAMIC=0.982, SPF_HELO_NONE=0.001, SPF_NONE=0.001] autolearn=no autolearn_force=no Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id utFVJ_0ofBAW for ; Tue, 24 Aug 2021 13:17:53 +0000 (UTC) X-Greylist: delayed 00:09:02 by SQLgrey-1.8.0 Received: from mail.wpsoftware.net (s66-183-0-205.bc.hsia.telus.net [66.183.0.205]) by smtp4.osuosl.org (Postfix) with ESMTP id 278FF40283 for ; Tue, 24 Aug 2021 13:17:53 +0000 (UTC) Received: from camus (camus-peter.lan [192.168.0.191]) by mail.wpsoftware.net (Postfix) with ESMTPSA id C4490400DC; Tue, 24 Aug 2021 13:08:22 +0000 (UTC) Date: Tue, 24 Aug 2021 13:08:49 +0000 From: Andrew Poelstra To: Gijs van Dam , Bitcoin Protocol Discussion Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Subject: Re: [bitcoin-dev] Is there a tool like Ethereum EVM at present for Bitcoin script? X-BeenThere: bitcoin-dev@lists.linuxfoundation.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Bitcoin Protocol Discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Aug 2021 13:17:58 -0000 Simplicity does not compile to Bitcoin Script, and Sapio assumes extensions to Bitcoin Script that are not currently part of the consensus code. On Tue, Aug 24, 2021 at 03:36:29PM +0800, Gijs van Dam via bitcoin-dev wrote: > Hi, > > > Bitcoin does not have a virtual machine. But you do have [Miniscript][1], > [Min.sc][2], [Simplicity][3] and [Sapio][4]. These are all higher level > languages that compile to Bitcoin Script. Sapio is "just" Rust, so that > might fit your setting best. > > By the way, this question also has an answer on [Bitcoin Stackexchange][5] > which is a great resource for questions like this. > > [1]: http://bitcoin.sipa.be/miniscript/ > [2]: https://min.sc/ > [3]: https://github.com/ElementsProject/simplicity > [4]: https://learn.sapio-lang.org/ > [5]: > https://bitcoin.stackexchange.com/questions/108261/is-there-a-tool-like-ethereum-evm-at-present-for-bitcoin-script > > On Tue, Aug 24, 2021 at 2:55 PM Null Null via bitcoin-dev < > bitcoin-dev@lists.linuxfoundation.org> wrote: > > > Hi all, > > > > Is there a tool like Ethereum EVM at present? Users can write bitcoin > > scripts in a syntax just like python(or like other programming language); > > through this tool, they can be translated into bitcoin original scripts; it > > sounds like a new programming language has been invented. > > > > In my opinion, Bitcoin script programming is based on reverse Polish > > expression; this is not friendly to programmers; > > > > In fact, Bitcoin's opcode expression ability is very rich, and it may be > > unfriendly, which has affected the promotion of Bitcoin in the technical > > community. > > > > Hope for hearing some voice about this. > > > > Best wish. > > > > _______________________________________________ > > bitcoin-dev mailing list > > bitcoin-dev@lists.linuxfoundation.org > > https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev > > > _______________________________________________ > bitcoin-dev mailing list > bitcoin-dev@lists.linuxfoundation.org > https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev -- Andrew Poelstra Director of Research, Blockstream Email: apoelstra at wpsoftware.net Web: https://www.wpsoftware.net/andrew The sun is always shining in space -Justin Lewis-Webster