From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org [172.17.192.35]) by mail.linuxfoundation.org (Postfix) with ESMTPS id E3F4014D3 for ; 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 ; 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 To: Achow101 , Bitcoin Protocol Discussion Message-ID: <20190427033227.g5t3p7meztdc6tr4@petertodd.org> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="ptpiaynmq73aohft" Content-Disposition: inline In-Reply-To: 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 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-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--