Bitcoin Forum
November 05, 2024, 04:32:15 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: fork bitcoin source code, can one use Python based on the source code?  (Read 409 times)
summer209 (OP)
Newbie
*
Offline Offline

Activity: 46
Merit: 0


View Profile
November 12, 2017, 11:06:17 AM
 #1

Since Bitcoin was developed with C++, I was wondering if people fork bitcoin source code,  then how to continue the development with other language, such as Java, Python....?
achow101
Moderator
Legendary
*
expert
Offline Offline

Activity: 3542
Merit: 6885


Just writing some code


View Profile WWW
November 13, 2017, 05:48:52 PM
Merited by ABCbits (2)
 #2

You can't just fork a project in one language and then try to continue its development in another language. That is not how software works.

If you want to develop in another language, then you need to port the project to that other language first. Doing that requires translating from one language to another and that is usually a very difficult task, especially for large projects.

wiebemarten
Newbie
*
Offline Offline

Activity: 14
Merit: 0


View Profile WWW
November 13, 2017, 09:30:32 PM
 #3

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


Maybe it is good to mention here that:

1. It is possible to interact with a running Bitcoin client from other languages by using its RPC (Remote Procedure call) interface.
2. If you want to make drastic changes to the way the client ought to work, there are projects like the fairly new Tendermint that do the common work of distributed ledger systems for you, but allow you to write part of the functionality in any programming environment of your choice. (There probably are some strings attached, I do not know a lot about this project at this time.)

~Wiebe-Marten

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBAgAGBQJaCg5oAAoJEBfPRUP+Bdzsy7UP/05obkSCgSCan7GE8EhsejsT
go9RHUW8VKAWvs7hAIPGCXAcSeDHoQHyI/VyVbde9PxhekFGXzvw0suF5Ako66wB
qvcqA0LgXhCrAmOwC9mJCpcL9EFKm0zcmxAy5p4TO+MPuOuSQCEXyFKjan9aIP2q
gdqCECl3PrBUjS8pd2kh3zFtJK9YwwgAlCLlr9gQATXoMFMcd4jNkfr86a/mGg9l
UWKMIkD+zpE/0MDdKNWl83RqTzH2ZK3pOOHPhyOm2178oGndhxZ3256ShgZbIa87
i5dx/d3RM4w8LAKJURqmJgQphqitJiOBMKUIbquWZdc+t01ae06NCrbSGL1Teqlv
Kbgp3Jgo9S8YZ9OeRKtbQzUkPTn5iPOmD3giHQq/wYEFNiv95Wpr0u3auUOpTlnR
nynfug+pulgykVvV5HuiHnknRqp+YpzqDON9aptrhQO6g+VS7nTdbpTiQ0LMPZk1
8qtk4+x1pbOcRDB0MqQjlCCtgy+psw/eQ+6QvE3DeBl5InLAp6yA6gRuZHHKbxCY
jFdAbr7M1+5dGuqf5Ak2qF++TyyMYD+1VTtlCSFKGkssLo0Ls5ivags7yGwom8XO
Or16XWxbCicQ4nkBUk4jGcUD2Q+Ch7H2N91djeOu48vAF5y0IY7DDcOxBWO7Va7p
WHjUb5SOtDFioBY8n5hY
=BMjm
-----END PGP SIGNATURE-----
omashi
Jr. Member
*
Offline Offline

Activity: 54
Merit: 10


View Profile WWW
November 15, 2017, 07:07:26 AM
 #4

you can look at other impl in javascript/golang/java, that would be a better option, if you still insist to use bitcoin core code and use python you can do some nasty tricks like binding and bridges but I would stay from this, it's like substantially more complexity, and software is already complex. 

CBT ◆◆ CommerceBlock ◆◆ CBT
Creating Decentralised Financial Infrastructure (https://www.commerceblock.com/)
◆ Whitepaper (https://www.commerceblock.com/commerceblock-whitepaper.pdf) ◆ ANN Thread (https://bitcointalk.org/index.php?topic=2613540) ◆ Github (https://github.com/commerceblock) ◆ Twitter (https://twitter.com/commerceblock) ◆ Telegram (https://t.me/joinchat/Ge36IURXhKAS_6HTznUXUg) ◆
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!