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
|
Return-Path: <user@petertodd.org>
Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org
[172.17.192.35])
by mail.linuxfoundation.org (Postfix) with ESMTPS id E3F4014D3
for <bitcoin-dev@lists.linuxfoundation.org>;
Sat, 27 Apr 2019 03:32:43 +0000 (UTC)
X-Greylist: from auto-whitelisted by SQLgrey-1.7.6
Received: from outmail148110.authsmtp.com (outmail148110.authsmtp.com
[62.13.148.110])
by smtp1.linuxfoundation.org (Postfix) with ESMTPS id 972A1786
for <bitcoin-dev@lists.linuxfoundation.org>;
Sat, 27 Apr 2019 03:32:42 +0000 (UTC)
Received: from mail-c237.authsmtp.com (mail-c237.authsmtp.com [62.13.128.237])
by punt17.authsmtp.com. (8.15.2/8.15.2) with ESMTP id x3R3WVEZ029960;
Sat, 27 Apr 2019 04:32:31 +0100 (BST)
(envelope-from user@petertodd.org)
Received: from petertodd.org (ec2-52-5-185-120.compute-1.amazonaws.com
[52.5.185.120]) (authenticated bits=0)
by mail.authsmtp.com (8.15.2/8.15.2) with ESMTPSA id x3R3WSPO077045
(version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO);
Sat, 27 Apr 2019 04:32:29 +0100 (BST)
(envelope-from user@petertodd.org)
Received: from [127.0.0.1] (localhost [127.0.0.1])
by petertodd.org (Postfix) with ESMTPSA id 86D834014D;
Sat, 27 Apr 2019 03:32:28 +0000 (UTC)
Received: by localhost (Postfix, from userid 1000)
id 2A43D21A51; Fri, 26 Apr 2019 23:32:27 -0400 (EDT)
Date: Fri, 26 Apr 2019 23:32:27 -0400
From: Peter Todd <pete@petertodd.org>
To: Achow101 <achow101-lists@achow101.com>,
Bitcoin Protocol Discussion <bitcoin-dev@lists.linuxfoundation.org>
Message-ID: <20190427033227.g5t3p7meztdc6tr4@petertodd.org>
References: <CA+PERc0+cUu-0-HsnTNEFY67v2T6BwtV-myjT=mh1i9z5vATYQ@mail.gmail.com>
<V0VmX7UXCj3jIAzs4ChvyjabCLbjKvyOCURUOoR9q1y0xOcYO8Dl7aMYzIE0qoROqkVZQ4EpxCgD6UA2pBhWM_dfAwvYK7GVZcbs8EoSmW4=@achow101.com>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256;
protocol="application/pgp-signature"; boundary="ptpiaynmq73aohft"
Content-Disposition: inline
In-Reply-To: <V0VmX7UXCj3jIAzs4ChvyjabCLbjKvyOCURUOoR9q1y0xOcYO8Dl7aMYzIE0qoROqkVZQ4EpxCgD6UA2pBhWM_dfAwvYK7GVZcbs8EoSmW4=@achow101.com>
User-Agent: NeoMutt/20170113 (1.7.2)
X-Server-Quench: 16338854-689d-11e9-960e-8434971169dc
X-AuthReport-Spam: If SPAM / abuse - report it at:
http://www.authsmtp.com/abuse
X-AuthRoute: OCd2Yg0TA1ZIVwkA IjsJECJaVQIpKltL GxAVKBZePFsRUQkR
aQdMdAUUGUUGAgsB Am8bW1BeU197WmM7 bghPaBtcak9QXgdq
T0pMXVMcXAYKAnti ZmEeVR5ycwAIcXxx bAhjWHNYVEx/cVt7
SkcACGwHMG59YWYf BV1QcwBQeQRLfxlM PgMxNiYHcQ5VPz4z
GA41ejw8IwAXCSFN WAYTLFQdCX4RE3Y1 QRxKJTI0AQUgSj88
LhopYncWHUIQLkQ/ KhMeWE4YUVcoBxJE Hl1MBiARDF4bSmIK C0tiTFIeFzs1
X-Authentic-SMTP: 61633532353630.1024:706
X-AuthFastPath: 0 (Was 255)
X-AuthSMTP-Origin: 52.5.185.120/25
X-AuthVirus-Status: No virus detected - but ensure you scan with your own
anti-virus system.
X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW
autolearn=ham version=3.3.1
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on
smtp1.linux-foundation.org
X-Mailman-Approved-At: Sat, 27 Apr 2019 04:05:56 +0000
Cc: Ahmer Regos <ahmerregos@gmail.com>
Subject: Re: [bitcoin-dev] Improving Pre and Post Merging Abilities With
Rewriting Core In Python
X-BeenThere: bitcoin-dev@lists.linuxfoundation.org
X-Mailman-Version: 2.1.12
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: Sat, 27 Apr 2019 03:32:44 -0000
--ptpiaynmq73aohft
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On Tue, Apr 23, 2019 at 03:23:27PM +0000, Achow101 via bitcoin-dev wrote:
> Feel free to re-implement Bitcoin Core in Python. It's open source softwa=
re and you can do whatever you want.
>=20
> However Bitcoin Core is not going move to Python and rewrite everything i=
n Python. Besides the fact that Python is far less efficient than C/C++, re=
writing Bitcoin Core in any other language would be a huge undertaking and =
introduce many bugs for almost no benefit whatsoever. Bitcoin Core won't be=
changing languages for the entire codebase, but you are welcome to port it=
to Python yourself.
Speaking as maintainer of the Python library python-bitcoinlib, I don't thi=
nk
using Python for security critical codebases is a good idea. It's just too =
easy
to make mistakes; I wouldn't recommend new projects use python-bitcoinlib.
Currently I'm doing 100% of my new projects on Rust. That's not to say Rust=
is
the only language usable for this kind of work. But it fits my style of
programming well and the type system - esp good handling of immutability -
appears to offer significant benefits.
--=20
https://petertodd.org 'peter'[:-1]@petertodd.org
--ptpiaynmq73aohft
Content-Type: application/pgp-signature; name="signature.asc"
-----BEGIN PGP SIGNATURE-----
iQEzBAEBCAAdFiEEFcyURjhyM68BBPYTJIFAPaXwkfsFAlzDzUcACgkQJIFAPaXw
kfuBYAf+L4RYz8BNBCgEz4S63OxtEL5NbmqXitKNmhRd+YfbcW6/429kcUXp5BXa
4B29WKEQCRPOrCOwJjtlY58IMiKIBgOUhpiV0Ul1Tmpn4sUHXRhq1ksYKN7A1vPb
q869Onq1xbkXEgjr9XyW4CmZ3IR2owOt2cd8pARXDVRnu1L7blV9v25lPVswvvCI
v2oXHjy72T6hoOBAS0aRnYU5/tWOM+bsvTPZlHVWEm2WpGprVgMEDn77X9tv5cdQ
T+G3wzCaVS5E5wOv2mWpvWYpSRwkmYbQoYeOTWQQwgYDIRMUCJQgxOE0wgr50qWu
7EqZtKorx/EE0oPokMhYNcWtwaSBGg==
=YcQ+
-----END PGP SIGNATURE-----
--ptpiaynmq73aohft--
|