Is Solidity being replaced by languages such as Rust or other programming languages for smart contract development?
1 Answer
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.
-
-
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 Commented 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. Commented Jan 18, 2022 at 7:35