Why there are different programming languages used for blockchain?
programming languages are pretty versatile, a lot or the existing languages have been used for blockchain
my question would be why not?
Hey @BlackCyber!
Welcome to the Forum !
Hey! Can you give a definite answer to this? I really need some explaining for my homework.
have you tried with googling your answer?
I have never researched blockchain in detail
Hi @BlackCyber!
I agree with @ILMâs suggestion with googling the answer.
I would google what is the best programming language for blockchain.
I would look up quora discussions and reddit programming discussions to find the answer you are looking for like this one.
Do you mean âwhy can you use different programming languages for blockchainâ?
Edit: if you do mean that then youâre not really asking anything specific â itâs like asking âwhy can you write programs in different programming languagesâ. Or maybe by analogy âwhy are some buildings made out of different materials to other buildingsâ or âwhy are some walls painted colours other than blueâ.
Blockchains and smart contracts are just ideas designed to solve very specific problems when dealing with distributed systems (ie the system is programmed to work across multiple computers at once rather than running on one computer, as if you are treating all the computers as a single system).
They basically say âwhen you want to program a ledger that is trustworthy and works across any number of discrete computers at once, use this protocol, and use these data structures, and implement these algorithmsâ.
For blockchains, thatâs a solution to a requirement that the ledger isnât centralised in one database (I am extremely familiar with this because I use git almost every day to do development work). Smart contracts I have no idea. But neither mandates a programming language, thatâs not the point, itâs not really relevant. There are programming languages designed to make it easier to program that way, but theyâre implementation details.
This has been very helpful! Thanks!