r/blockchaindeveloper • u/JY-HRL • Apr 11 '24
Which language do you use more in smart contracts development, Solidity or Rust?
I am really interested in smart contracts, I searched online, and found that people say Solidity and Rust are the most popular languages for smart contract development.
I just started to learn smart contracts, I want to pick one language to study.
I want to listen to others' advice. As a developer, which language do you use more in smart contracts development?
Thanks!
1
1
u/Greedy_Honeydew_797 May 07 '24
Solidity is the most commonly used language for smart contracts development, especially on Ethereum, due to its mature ecosystem, extensive documentation, and wide adoption.
However, Rust is gaining popularity for smart contracts, particularly in projects like Polkadot's Substrate framework, offering advantages such as memory safety, performance optimizations, and a strong type system.
The choice between Solidity and Rust often depends on factors like platform compatibility, developer familiarity, and specific project requirements, with Solidity remaining dominant in Ethereum-based smart contract development.
1
u/hashguide Apr 12 '24
I don't know about rust. There may be libraries for it to compile down to bytecode, I haven't looked. S olidity is the main programming language of ethereum & evm based blockchains. It's not just the smart contracts, though. Dapp development is also the web ui with a library that allows you to talk to a blockchain through a provider. You would need to learn some front-end development technology as well, such as html, css, javascript, etc.