Author

Topic: Which language is most suitable for blockchain (Read 176 times)

legendary
Activity: 4424
Merit: 4794
any language which allows
write to disk (save to hard drive)
connect to peer direct(IP connection)(i suppose HTTP methods can do. but then every user needs a webserver)

.
some web languages are crap. but as long as you can store and transfer data. then you can have fun with HOW and WHO and WHY
legendary
Activity: 1568
Merit: 6660
bitcoincleanup.com / bitmixlist.org
High performance (C)?

Not "high performance" but the ease of detecting security vulnerabilities compared to other languages. Interpreter technology has evolved to run general-purpose code in some higher level languages just as fast as C, plus all the runtime safety features.

Do you know any benchmark or research about this matter? I doubt easy-to-use programming language (such as Python) could be as fast as C without using library which bind to C/C++ library or using compiler like Numba which require code change.

When you write applications that do disk and network I/O (particularly full nodes and SPVs) or poll the kernel for GUI input or network/file data, the speed differences between the runtimes and compiled assembly code are negligible compared to the amount of time waiting on files on disk to be updated or network packets being sent.

Of course, for programs such as math problems that don't block the CPU thread, then the speed of compiled programs compared to interpreted languages becomes much more noticeable.
legendary
Activity: 3668
Merit: 6382
Looking for campaign manager? Contact icopress!
certainly there are many others around.

Under Windows C# is rather popular, and there at least NBitcoin and Bitcoin.Net may worth mentioning.
legendary
Activity: 2352
Merit: 6089
bitcoindata.science
There are bitcoin implementations and libraries in many different languages.

For example, I will list some I have found (never tested them)

Javascript:
https://bcoin.io/
https://github.com/bitcoinjs/bitcoinjs-lib

PHP
https://github.com/Bit-Wasp/bitcoin-php

Python
https://github.com/samrushing/caesure
https://bitcointalksearch.org/topic/ann-pynode-simple-bitcoin-p2p-node-94645

C
https://github.com/libbtc/libbtc

certainly there are many others around.
legendary
Activity: 3668
Merit: 6382
Looking for campaign manager? Contact icopress!
dive into blockchain technology generally

You know, blockchain is just a specific type of database.
What is the best programming language to access databases? The one you know best.

So my advice is: get to learn very good a programming language; one which you find closer to your hearth. Afterwards, if you'll still be interested in blockchain, it'll be here, no worries.
legendary
Activity: 1568
Merit: 6660
bitcoincleanup.com / bitmixlist.org
High performance (C)?

Not "high performance" but the ease of detecting security vulnerabilities compared to other languages. Interpreter technology has evolved to run general-purpose code in some higher level languages just as fast as C, plus all the runtime safety features.
legendary
Activity: 1232
Merit: 1080
All programming languages are mostly the same except for a couple of exceptions. Once you have learned how to code you can try any coding language out and it will be mostly learning the very small differences and the syntax. You can program anything with most languages certain languages like C++ allow more specific tasks but is not recommended unless you want to really increase the performance of your code. I would stick to Python for another couple of months and then move onto a higher level language like Java or C.
legendary
Activity: 2170
Merit: 1789
Isn't it a bit too soon to build a blockchain network after learning some programming? That being said, I recall there's a website with a guide on blockchain tx simulation where you can make it on your own with HTML and JS. It's definitely for simulation/visualization only though.
legendary
Activity: 1042
Merit: 2805
Bitcoin and C♯ Enthusiast
Almost all programming languages could be used as long as you are capable of writing secure and efficient code in that language.
sr. member
Activity: 966
Merit: 421
Bitcoindata.science
I just rounded up a course in python learning about it's syntax and semantics and I intend doing a dip dive into blockchain technology generally to learn how we can build an open source of trusted ledger network where every user have access to the respective transactions carried out on a network but I feel a little confused about what language would suit in comfortable I was told python is a multi-purpose language and also learnt all language has it's pros and crons with respect to that I wanted a guide line on a language that suits in perfectly

Thanks .
Jump to: