Solana has first class support for the Rust programming language.
New to Rust?
It may be difficult to learn at first, but once you master it, there’s a good chance you’ll never look back. Rust has consistently ranked as the moved loved programming language in Stack Overflow’s developer surveys from many years.
Most Rust developers have learned through the Rust “book”. The Rust book explains Rust’s unique and tricky features in an easy to understand way. Give it a try!
The easiest way to write Rust programs for Solana is by using the Anchor framework.
Solidity is not yet supported on Solana. Solidity was built to work really well for the Ethereum Virtual Machine (EVM). However, Solana’s smart contract VM was designed with fundamental differences from the EVM and so it currently does not support Solidity. There are two ongoing efforts to support Solidity on Solana:
Porting the EVM to run on Solana
Support Solidity for writing Solana programs
Solana has support for C as well but the vast majority of resources are written for Rust. C developers are recommended to use Rust for a better development experience.
Solana has previously experimented with adding support for the Move language but has set that project aside to prioritize other projects.
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.