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 3878BC000E for ; Tue, 24 Aug 2021 07:36:46 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id 1A7FC404D8 for ; Tue, 24 Aug 2021 07:36:46 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org X-Spam-Flag: NO X-Spam-Score: -2.098 X-Spam-Level: X-Spam-Status: No, score=-2.098 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no Authentication-Results: smtp4.osuosl.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com 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 mtMesOs0pk-U for ; Tue, 24 Aug 2021 07:36:41 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.8.0 Received: from mail-io1-xd30.google.com (mail-io1-xd30.google.com [IPv6:2607:f8b0:4864:20::d30]) by smtp4.osuosl.org (Postfix) with ESMTPS id 713D6404B1 for ; Tue, 24 Aug 2021 07:36:41 +0000 (UTC) Received: by mail-io1-xd30.google.com with SMTP id b10so13095814ioq.9 for ; Tue, 24 Aug 2021 00:36:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=63o+oVY27xv6DpsCgEBN7Vw4vq8ywcRa5jUYs/gV8K0=; b=ZjEnYi2qKWV4PO6YRtw5OeLqenMOH5k7ZbfVPJBt2SZR0pEjhjMIZ9fQQ6qSkpsBVk WfMjDNq8wEO6J/2Mu17zKTof1GSk43aB4TZqcKX05V93nlYb8Kn1dFYnDmRBTQ8Z9Xcp cFv5htg7XUmtyqlyQudF4qnZU7HqLI6ih9xNRNaHNVRPISQH2kgy5Fj6gIhRIW3GCllZ B5+BM1IR7pjxS2drCw3PPOIzAQmFRFzUOysXcGn2U241ZSnHZ2RuJMpabMw308nqkQdr ecIS4rJJqyAXAB196cumrKl0ix8ElU2a0+PzcZTvxsetQMbCP8dQfPcQRjZ2pcJ9CENn fHEQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=63o+oVY27xv6DpsCgEBN7Vw4vq8ywcRa5jUYs/gV8K0=; b=lTHPc2NIy5t8H297wXAlpabBA1PuyWYcTg5952zfqFAGq1m4/ACD7KVsYdrJLpLmCI IB+MavnzX9td7Z49BvFkFns1RF7g3HeyZaygPbLlyJmgWmIZwkrKk2IyAjDoRtMUm/ZD aBRQ6p5LAV7SAIUSUAUjzZ/0JYiKrpIoWLQ0ZkUjBpjDY5gRdq6k6LkZdrcTFL1SO+qz pMVpxLXCr+ZsyeJ/f8oZM4mWnmRa1CRKHlDIUlTAVVitiwLJPuY0xluu8e7gK86qO6kR obYuAyV7WNe6WxH+yUozqmNCB1anGKWmJeucPloCew+t2vYTZmugGjcPbjGu/Tu5Q83g 8tUA== X-Gm-Message-State: AOAM531n3sb18pK2Yq5SzQ+vZlwI9pMIlXBBRK2aXjKRV2hJzBvjamFE xH11DbMD99yh2F1wvv6B39csSkNwA71Q9MgsbSJKck3z X-Google-Smtp-Source: ABdhPJwJOAIED4bo6ERsP+QHCMa2mYGfQSNrSkDfqHVE35yiqEmluwmMymOkoxEfDndFhx9NbQ0jS34rEHCaMg/R3pU= X-Received: by 2002:a5e:a601:: with SMTP id q1mr5524804ioi.51.1629790600257; Tue, 24 Aug 2021 00:36:40 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Gijs van Dam Date: Tue, 24 Aug 2021 15:36:29 +0800 Message-ID: To: Bitcoin Protocol Discussion Content-Type: multipart/alternative; boundary="000000000000c9645505ca4931f6" X-Mailman-Approved-At: Tue, 24 Aug 2021 08:53:09 +0000 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 07:36:46 -0000 --000000000000c9645505ca4931f6 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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-eth= ereum-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=EF=BC=8C Bitcoin script programming is based on reverse Pol= ish > 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 > --000000000000c9645505ca4931f6 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi,


Bitcoin d= oes 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 tha= t 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 ques= tions like this.


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 scrip= ts in a syntax just like python(or like other programming language); throug= h this tool, they can be translated into bitcoin original scripts; it sound= s like a new programming language has been invented.

In my opinion=EF=BC=8C Bitcoin script programming is based on reverse Polis= h expression; this is not friendly to programmers;

In fact, Bitcoin's opcode expression ability is very rich, and it may b= e 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/mail= man/listinfo/bitcoin-dev
--000000000000c9645505ca4931f6--