Besides Solidity and Serpent, what are the other (experimental) contract programming languages?
Initial there were three high level languages to develop ethereum smart contracts:
- Mutan, a Golang-like language. It was deprecated in march 2015.
- LLL, a Lisp-like language. Still supported in core but hardly used.
- Serpent, a Python-like language Read the docs. However, it is no longer recommended to use.
Solidity is very successful so far, other non-Ethereum projects also use it, Counterparty for instance.
Update, there is now also Viper.
Update, there is now also Bamboo.
Languages for writing Ethereum smart-contract :
The two primary languages which are used to write Ethereum smart contracts are Serpent and Solidity.
Some key features of these languages are:
Serpent – Serpent is a high-level language designed for writing Ethereum contracts. It is very similar to Python, but as of September, 2017, Solidity is the preferred language of development for Ethereum developers
Upcoming Smart contract languages
Solidity is currently the most popular language for smart contracts.
There are a few upcoming smart contract languages which can become important in the future:
Viper – Viper focuses on security and language and compiler simplicity. It has a python-like indentation scheme.
Chain – Chain provides enterprise-grade blockchain infrastructure with SDKs in popular languages such as Ruby, Java, and NodeJS.