What is Solidity written in?
Object-oriented programming language for writing smart contracts.
The Solidity compiler is written in C++ (documented).
Quick Facts
- First released
- 2014
- Typing
- static
- License
- GNU General Public License, version 3.0
- Website
- soliditylang.org
About Solidity
Solidity is an object-oriented programming language for writing smart contracts. It is a statically typed language that compiles ahead of time to native machine code. It supports object-oriented and imperative programming.
Solidity first appeared in 2014 and was developed at Ethereum Foundation. Solidity keeps a steady, moderate following today.
How Solidity is implemented
In the Language Lineage dataset, its compiler is written in C++.
Solidity in the language family tree
Solidity drew on ideas from C++, JavaScript, and Python.
Sources: Wikipedia · Wikidata · Official site
Relationship Graph
All directly connected languages. Click any node to navigate to its page.
Compiler Implementation
| Language | Confidence | Notes | Source |
|---|---|---|---|
| C++ | 92% | The reference compiler solc is written in C++. | Source |
Influenced By
- C++ — Solidity's syntax draws on C++.
- JavaScript — Solidity borrows syntax from JavaScript.
- Python — Solidity also takes ideas from Python.
Frequently Asked Questions
What language is Solidity written in?
Solidity is primarily implemented in C++. See the implementation section above for details and source references.
What languages influenced Solidity?
Solidity was influenced by C++, JavaScript, Python among others. See the influence section above for the full list.
When was Solidity first released?
Solidity was first released in 2014.