1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
|
Return-Path: <gvandam@gmail.com>
Received: from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137])
by lists.linuxfoundation.org (Postfix) with ESMTP id 3878BC000E
for <bitcoin-dev@lists.linuxfoundation.org>;
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 <bitcoin-dev@lists.linuxfoundation.org>;
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 <bitcoin-dev@lists.linuxfoundation.org>;
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 <bitcoin-dev@lists.linuxfoundation.org>;
Tue, 24 Aug 2021 07:36:41 +0000 (UTC)
Received: by mail-io1-xd30.google.com with SMTP id b10so13095814ioq.9
for <bitcoin-dev@lists.linuxfoundation.org>;
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: <E541FB6E-AB06-4B8D-86CF-530C13AF62DD@gmail.com>
In-Reply-To: <E541FB6E-AB06-4B8D-86CF-530C13AF62DD@gmail.com>
From: Gijs van Dam <gvandam@gmail.com>
Date: Tue, 24 Aug 2021 15:36:29 +0800
Message-ID: <CAGB645aYFvxBctxXHwH0bB=qRMTaEW263H5BxpT8b27i9S3B7w@mail.gmail.com>
To: Bitcoin Protocol Discussion <bitcoin-dev@lists.linuxfoundation.org>
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 <bitcoin-dev.lists.linuxfoundation.org>
List-Unsubscribe: <https://lists.linuxfoundation.org/mailman/options/bitcoin-dev>,
<mailto:bitcoin-dev-request@lists.linuxfoundation.org?subject=unsubscribe>
List-Archive: <http://lists.linuxfoundation.org/pipermail/bitcoin-dev/>
List-Post: <mailto:bitcoin-dev@lists.linuxfoundation.org>
List-Help: <mailto:bitcoin-dev-request@lists.linuxfoundation.org?subject=help>
List-Subscribe: <https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev>,
<mailto:bitcoin-dev-request@lists.linuxfoundation.org?subject=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
<div dir=3D"ltr"><div>Hi,</div><div><br></div><div><br></div><div>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.<br><br></div><div>By the way, this question also has=
an answer on [Bitcoin Stackexchange][5] which is a great resource for ques=
tions like this.<br></div><div><br></div><div>[1]: <a href=3D"http://bitcoi=
n.sipa.be/miniscript/" target=3D"_blank">http://bitcoin.sipa.be/miniscript/=
</a></div><div>[2]: <a href=3D"https://min.sc/" target=3D"_blank">https://m=
in.sc/</a></div><div>[3]: <a href=3D"https://github.com/ElementsProject/sim=
plicity" target=3D"_blank">https://github.com/ElementsProject/simplicity</a=
></div><div>[4]: <a href=3D"https://learn.sapio-lang.org/" target=3D"_blank=
">https://learn.sapio-lang.org/</a><br>[5]: <a href=3D"https://bitcoin.stac=
kexchange.com/questions/108261/is-there-a-tool-like-ethereum-evm-at-present=
-for-bitcoin-script" target=3D"_blank">https://bitcoin.stackexchange.com/qu=
estions/108261/is-there-a-tool-like-ethereum-evm-at-present-for-bitcoin-scr=
ipt</a></div></div><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D=
"gmail_attr">On Tue, Aug 24, 2021 at 2:55 PM Null Null via bitcoin-dev <=
<a href=3D"mailto:bitcoin-dev@lists.linuxfoundation.org" target=3D"_blank">=
bitcoin-dev@lists.linuxfoundation.org</a>> wrote:<br></div><blockquote c=
lass=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px soli=
d rgb(204,204,204);padding-left:1ex">Hi all,<br>
<br>
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.<br>
<br>
In my opinion=EF=BC=8C Bitcoin script programming is based on reverse Polis=
h expression; this is not friendly to programmers;<br>
<br>
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.<br>
<br>
Hope for hearing some voice about this.<br>
<br>
Best wish.<br>
<br>
_______________________________________________<br>
bitcoin-dev mailing list<br>
<a href=3D"mailto:bitcoin-dev@lists.linuxfoundation.org" target=3D"_blank">=
bitcoin-dev@lists.linuxfoundation.org</a><br>
<a href=3D"https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev" =
rel=3D"noreferrer" target=3D"_blank">https://lists.linuxfoundation.org/mail=
man/listinfo/bitcoin-dev</a><br>
</blockquote></div>
--000000000000c9645505ca4931f6--
|