Bitcoin Forum

Bitcoin => Project Development => Topic started by: gogismamero on September 09, 2017, 09:44:57 AM



Title: On which programming languages best to write to the blockchain. Python, Go, Java
Post by: gogismamero on September 09, 2017, 09:44:57 AM
Good afternoon. On which programming languages best to write to the blockchain. Python, Go, Java


Title: Re: On which programming languages best to write to the blockchain. Python, Go, Java
Post by: jackg on September 09, 2017, 11:54:54 AM
Good afternoon. On which programming languages best to write to the blockchain. Python, Go, Java

A lot of people tend to use Python I think.
Wallets like electron are wrote purely with Python and it is a very simple and easy language (compared to have which is a bit more complex). Take a look at how electrum functions for signing transactions by looking at the source code (from their site). Or find other examples.


Title: Re: On which programming languages best to write to the blockchain. Python, Go, Java
Post by: achow101 on September 09, 2017, 04:48:26 PM
The blockchain is not something that is written or programmed. It is a data structure, not a piece of software. So you can write whatever software you want in whatever language you want in order to create the blockchain data structure. It is just a bunch of bytes in a specific format. Of course, since it is bytes, you will want to use something that is good with handling byte data, like C/C++.


Title: Re: On which programming languages best to write to the blockchain. Python, Go, Java
Post by: ferumflex on September 09, 2017, 08:42:10 PM
As for me all languages are acceptable. I would prefer python because speed of the development is better.


Title: Re: On which programming languages best to write to the blockchain. Python, Go, Java
Post by: CryptoAlarm on September 10, 2017, 12:00:35 AM
Python looks very usefull and smart for blockchain, a lot of people use it.


Title: Re: On which programming languages best to write to the blockchain. Python, Go, Java
Post by: efeaydin on September 10, 2017, 10:14:05 AM
https://github.com/search?utf8=%E2%9C%93&q=bitcoin

Most reposities for Bitcoin are written in Python, JavaScript and Java.

Python is easy to learn so you can use it.


Title: Re: On which programming languages best to write to the blockchain. Python, Go, Java
Post by: mammoniter on September 10, 2017, 02:33:08 PM
My suggestion is try to concentrate first on learning C++ if you want to establish a strong crypto programming foundation. Choosing what programming language to focus depends on which cryptocurrency base platform you are going to use. Try checking in on David Derosa's guide, they are useful in giving basic introduction for Bitcoin Script Language and standard scripts being used. :)


Title: Re: On which programming languages best to write to the blockchain. Python, Go, Java
Post by: luigii on September 10, 2017, 05:10:09 PM
Is there any statistic/chart about the language that is most used for blockchain? Something like StackOverflow questionary or something? Anything that has some numbers as a proof?


Title: Re: On which programming languages best to write to the blockchain. Python, Go, Java
Post by: steamon on September 10, 2017, 05:37:16 PM
It depends on the application and what way you want to go. I have only worked with someone with Ethereum smart contracts. Those have been pretty easy to use. So if I need something else one day again I have a higher chance to return to Ethereum. But if you are talking about an entire new blockchain from scratch then I think the matter more plays. What programming language are you the best in? That will make the difficulty level to program it secure. Of course, you can also look into the Bitcoin source code to look what works best. Blockcat will offer a plug and play solution for smart contracts but every blockchain has its own needs. I would pick c++/Python.


Title: Re: On which programming languages best to write to the blockchain. Python, Go, Java
Post by: Enzo 777 on September 10, 2017, 06:32:56 PM
it is depend on your skills of programming language , fast and easy way is python but java is best


Title: Re: On which programming languages best to write to the blockchain. Python, Go, Java
Post by: Joel_Jantsen on September 10, 2017, 06:53:57 PM
Good afternoon. On which programming languages best to write to the blockchain. Python, Go, Java
Any language you are comfortable in.To start with,high level language would be an ideal choice.Depending on your model and goals you are trying to achieve,you can figure out which language would be a perfect fit.Python is good but C++ is better.


Title: Re: On which programming languages best to write to the blockchain. Python, Go, Java
Post by: Zibo on September 12, 2017, 08:48:06 AM
Python has diversified application in the software development, this provides  a higher plethora over other programming languages. Im just generalising about those two.


Title: Re: On which programming languages best to write to the blockchain. Python, Go, Java
Post by: quarters on September 13, 2017, 11:10:25 AM
c++ is better, and you can work with c# on stratis source code


Title: Re: On which programming languages best to write to the blockchain. Python, Go, Java
Post by: _noname_ on September 13, 2017, 11:43:46 AM
Java is the most useful and easy to studying language.  :)


Title: Re: On which programming languages best to write to the blockchain. Python, Go, Java
Post by: redigaffi on August 28, 2018, 02:38:30 PM
You can pick any language, that's not the issue, let's be real, picking c++ over python only "because it's faster" that makes no sense, 0.05 ms "faster", it's not worth. But yes, if you want to learn C++ and by the side create a project go for it, but if not, pick any language because nowadays there is no real advantage choosing C++ over any language ONLY because "it's faster". I personally like C++, but if I want to move a project forward, fast and productive without messing with low-level stuff, than C++ is not a good choice.

Let's say you know that your Cryptocurrency will run in a specific hardware and this hardware is limited in 200mb ram and a 512mhz cpu, then C++ is a Good choice, but nowadays hardware is so, so cheap... everybody has atleast 8gb of ram.