IT lexicon › Programming › Solidity

Solidity

Programming På svenska → Updated: 2026-07-31

The language smart contracts on Ethereum are written in — syntactically familiar, semantically unforgiving.

Solidity is statically typed and borrows its appearance from JavaScript and C++, which makes it easy to start with and easy to misjudge. Code compiles to bytecode for the EVM, and every operation costs gas, which makes optimisation about something entirely different from ordinary programming.

What differs most is that a contract cannot be updated after deployment. A bug cannot be patched, and the code is public for anyone to inspect — attackers included. Reentrancy, the classic behind the DAO hack, is still the best-known trap. Formal verification and external audit are therefore routine rather than luxury.

← Back to the lexicon