Bitcoin Forum
November 16, 2018, 05:08:30 PM *
News: Latest Bitcoin Core release: 0.17.0 [Torrent].
 
   Home   Help Search Login Register More  
Poll
Question: Which language is better for blockchain development?
C++ - 5 (71.4%)
Java - 0 (0%)
Golang - 0 (0%)
Rust - 0 (0%)
Scala - 0 (0%)
Kotlin - 0 (0%)
Other - 2 (28.6%)
Total Voters: 7

Pages: [1]
  Print  
Author Topic: Choosing language for blockchain  (Read 112 times)
Bearil
Newbie
*
Offline Offline

Activity: 12
Merit: 0


View Profile
December 18, 2017, 12:04:39 PM
 #1

Hi! Let's have a think about what programming language is more convenient, faster and easier to create blockchain based solutions (from 0 point). Please evaluate according to the following criteria:
1) number of usefull libraries (for block-chain dev.);
2) the complexity of language learning, ease of development;
3) stability;
4) skill requirements;
5) number of developers on employment market.

All the reasoned answers are welcome!
1542388110
Hero Member
*
Offline Offline

Posts: 1542388110

View Profile Personal Message (Offline)

Ignore
1542388110
Reply with quote  #2

1542388110
Report to moderator
1542388110
Hero Member
*
Offline Offline

Posts: 1542388110

View Profile Personal Message (Offline)

Ignore
1542388110
Reply with quote  #2

1542388110
Report to moderator
1542388110
Hero Member
*
Offline Offline

Posts: 1542388110

View Profile Personal Message (Offline)

Ignore
1542388110
Reply with quote  #2

1542388110
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1542388110
Hero Member
*
Offline Offline

Posts: 1542388110

View Profile Personal Message (Offline)

Ignore
1542388110
Reply with quote  #2

1542388110
Report to moderator
1542388110
Hero Member
*
Offline Offline

Posts: 1542388110

View Profile Personal Message (Offline)

Ignore
1542388110
Reply with quote  #2

1542388110
Report to moderator
Colorblind
Member
**
Offline Offline

Activity: 280
Merit: 31

This text is irrelevant


View Profile
December 19, 2017, 11:42:41 AM
 #2

define "blockchain based" solutions.

If you are making your own blockchain C++ is way to go. If you creating service on top of existing BC - all of your options and some more can be viable depending on your utility. Programming language selection is too much dependent on the problem you trying to automate/solve.
kooler1
Newbie
*
Offline Offline

Activity: 36
Merit: 0


View Profile
December 19, 2017, 01:10:01 PM
 #3

It looks like C++ is the dominant language in cryptocurrency/blockchain world, so it will be the best way to go since there are already quite some libraries and opensource projects to look into.

Not the easy one though, but definitely good from the point of performance.
MJunioR
Member
**
Offline Offline

Activity: 67
Merit: 10


View Profile
December 19, 2017, 06:37:13 PM
 #4

C++, more developers are used to it, support is easier and there's more open source content out there.

Rust is interesting tho.
divyasdm11
Newbie
*
Offline Offline

Activity: 27
Merit: 0


View Profile
December 19, 2017, 06:52:02 PM
 #5

 If you would like to develop your own blockchain, I would say that you need to learn C++. Instead of developing something from scratch, you might want to consider forking out of some of the opensource projects like Open source private blockchain platform, Bitcoin, or Ethereum.

If you want to develop smart contracts on top of Ethereum, you need to learn solidity. A good tutorial to get you started with developing dapps on solidity is: How to write your first smart contract in solidity

For Hyperledger fabric, you need to learn GO. Most of the chaincode (smart contracts in Fabric’s world) programming is done in Go. They also have a Java SDK at the moment.

Also, blockchain is just the underlying technology. You would always need some sort of frontend to give to your users to be able to interact with your applications. For that Javascript is probably the most important language to learn.
malikusama
Copper Member
Sr. Member
****
Offline Offline

Activity: 742
Merit: 293

MA Bounty/Campaign Management


View Profile
December 19, 2017, 08:41:55 PM
 #6

I think you have got the majority opinion that C++ is the best option to create blockchian but to only suggest is not enough we should elaborate the reason that why I am saying it.
Well I am going to vote for C# because it has much more features than C++.
So I am here to explain you some reasons why C# will be a good option to use for blockchain creation.
1. C# is a merger of C and C++ and a new language with many modified features.
2. Having rich function library than others.
3. Very closely related to C++ and JAVA, so it can be easy to understand by both type of developers.

TechPriest
Sr. Member
****
Offline Offline

Activity: 353
Merit: 255



View Profile
December 19, 2017, 10:30:29 PM
 #7

It's good to use C++ for programming blockchain, 'cause it helps to understand bottom levels of crypto.
i would highly not recommended to use high levels language like Java, Solidity or others. Because you can't understand the essence of cryptocurrencies.

Maybe you can try Python (but after C++) for Bitcoin blockchain.

In science we trust!
gabbie2010
Sr. Member
****
Offline Offline

Activity: 658
Merit: 257



View Profile
December 20, 2017, 05:24:43 AM
 #8

Hi! Let's have a think about what programming language is more convenient, faster and easier to create blockchain based solutions (from 0 point). Please evaluate according to the following criteria:
1) number of usefull libraries (for block-chain dev.);
2) the complexity of language learning, ease of development;
3) stability;
4) skill requirements
5) number of developers on employment market.

All the reasoned answers are welcome!
I will go with C++ because the core of  a blockchain is written in C++ and the bitcoin tree is also written in C++ meanwhile the wallets can be written in languages like python, Java and JavaScript, knowledge in C++ will make it easier to modify bitcoin source code

       
              ▄██████████▄           
            ████████████████         
          ████████████████████       
         ████████▀    ▀████████   
        ███████          ███████     
        ██████            ██████     
        ██████            ██████     
        ███████          ███████     
         ████████▄    ▄████████       
          ████████████████████       
            ████████████████         
              ▀██████████▀           

  100M PLAYERS 
$57M REVENUE  ▌ 


  KAMAGAME
TOKEN SALE



  ███ 63% ANNUAL GROWTH ███
  Join our TOKEN SALE and get + 20% BONUS!
HALLASTERA
Member
**
Offline Offline

Activity: 252
Merit: 12


View Profile
December 20, 2017, 07:42:40 AM
 #9

I think any object programming language + one scripts language, with this combo you can development. But if you want to create something new in cryptocurreny should be cryptography knowledge
Bearil
Newbie
*
Offline Offline

Activity: 12
Merit: 0


View Profile
December 20, 2017, 08:40:35 AM
 #10

If you would like to develop your own blockchain, I would say that you need to learn C++. Instead of developing something from scratch, you might want to consider forking out of some of the opensource projects like Open source private blockchain platform, Bitcoin, or Ethereum.

If you want to develop smart contracts on top of Ethereum, you need to learn solidity. A good tutorial to get you started with developing dapps on solidity is: How to write your first smart contract in solidity

For Hyperledger fabric, you need to learn GO. Most of the chaincode (smart contracts in Fabric’s world) programming is done in Go. They also have a Java SDK at the moment.

Also, blockchain is just the underlying technology. You would always need some sort of frontend to give to your users to be able to interact with your applications. For that Javascript is probably the most important language to learn.

Thanks for you're reply. Our team is already in progress of developing on C++, but we has some dispute about other alternative technologies for making own modified dPoS solution.
redigaffi
Member
**
Offline Offline

Activity: 104
Merit: 10


View Profile
December 20, 2017, 09:36:05 AM
 #11

Firstly of all, Why C or C++? just because bitcoin was the first coin and it's written in C++? is it really a convention? ...

Just think, C++ is old, it's heavy, the learning curve is really big. C++ is a great, powerful low-level language, but that doesn't mean that it's the best choice for everything.

There are plenty of great languages out there, that are powerful, easy to learn, and just abstract low-level stuff, and you accomplish your goal in less with a lot of less code, and easier.

I think people should focus on delivering high-quality code, easy to understand, and easy to extend. I think if you're a NodeJS, PHP, or Java Developer, it's a lot easier to switch to C# or Java, to accomplish what you want, why just messing around with low-level CPU and memory stuff if you just interested in developing a coin? That has nothing to do with the coin, and if you're interested in learning all that stuff, then go with C++.

As a self-learner point of view you have 2 options:
- Just want to code a Coin to learn how all the stuff works in the background and get a solid background of what blockchain is and maybe publish it fast.
- Learn C++, learn low level stuff, learn blockchain, code a coin (long time)

As a business point of view:
- Deliver what I want as fast and cheap possible.
Cy80rG
Newbie
*
Offline Offline

Activity: 7
Merit: 0


View Profile
December 20, 2017, 10:12:31 AM
 #12

Well I am going to vote for C# because it has much more features than C++.
So I am here to explain you some reasons why C# will be a good option to use for blockchain creation.
1. C# is a merger of C and C++ and a new language with many modified features.
2. Having rich function library than others.
3. Very closely related to C++ and JAVA, so it can be easy to understand by both type of developers.
Hello!
I like C#, but what about crossplatform open source crypto, network and other libraries for C#?
What about crossplatform products creating with C#? And development with linux?
Thanks!
redigaffi
Member
**
Offline Offline

Activity: 104
Merit: 10


View Profile
December 20, 2017, 12:07:55 PM
 #13

And adding a point to my message, C++ is good for an os, for ASIC (specific hardware) were you have limited resources, today with the law of Moore, getting powerful computer is cheap, and it's getting, even more, cheaper every time, it makes no sense to use C++ to "optimize", on a PC it will never be a critic point using only the "necessary resources". If you start with coding with optimization in mind, that's called premature-optimization and will lead to bad code, and bad optimization. You can accomplish what you want with any other language, and whats the problem? Using Java or C# 200mb more of ram for the VM?

Getting better performing computer is cheap and will be cheaper, anyway, having dedicated servers with 128gb of ram is cheap too, cloud hosting...

No need to think about using 100mb less ram in your code
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!