Is Solidity being replaced by languages such as Rust or other programming languages for smart contract development?

1 Answer 1


Ethereum blockchain's smart contracts run on a specific type of bytecode. Solidity is one of the languages with which you can produce the required bytecode - another option being Vyper (also some other small partially forgotten languages).

The reason you can't use other languages (such as Rust) currently is that you can't produce the required bytecode from those languages. There simply aren't compilers for that. There have been various attempts of compiling various common langauges into Ethereum bytecode but with not much success.

With Eth2.0 the blockchain plans to migrate from the Ethereum bytecode usage (EVM) into using WebAssembly (EWASM). Here's some more info about that: https://medium.com/chainsafe-systems/ethereum-2-0-a-complete-guide-ewasm-394cac756baf

At that point WebAssembly becomes probably the de facto standard for smart contracts, but there's no way to be sure. Possibly Solidity will exist alongside.

  • Won't Solidity just be convertible into EWASM?
    – NowsyMe
    Jul 13, 2020 at 9:51
  • I'm not sure what you mean with that but anyway I'm not sure how the transition happens - probably nobody knows yet. EWASM is the platform, WebAssembly the language and I don't think they are compatible with Solidity Jul 13, 2020 at 10:07
  • @NowsyMe Solidity added eWasm support github.com/ethereum/solidity/projects/41 although it's very early state, so I don't know if it's usable already and there isn't any documentation about it yet. Jan 18, 2022 at 7:35

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.