Aptos Move by Example
  • 🚀Getting Started
  • Set-Up
  • Why is Move Secure
    • Move prover
  • Move vs Solidity
    • Resources
    • Parallel Processing
    • Reentrancy attacks
    • Memory management
    • Smart contract verification
    • Compiled language
  • Basic Concepts
    • Move.toml
    • Primary data-types
    • Strings
    • Comments
    • Functions
    • Function Visibilities
    • Control flow and expressions
    • Loops
    • Error
    • Struct and its Abilities
    • Scripts
    • Operations
  • Intermediate Concepts
    • Local variables
    • Constants
    • Signer
    • Vector
    • Address
    • Uses and Aliases
    • Maps
    • Hash functions
    • References
    • Unit test
    • Generics
    • Type Arguments
    • Type Inference
  • Advanced Concepts
    • Global Storage Structure
    • Global Storage Operations
    • Phantom Type Parameters
    • Timestamps
    • Ownership
    • Move coding conventions
    • View functions
    • Aptos account
    • Aptos Coin
    • Aptos Token(Nft)
    • Object
    • Token V2
  • Applications
    • First App
    • ToDoList
    • Voting System
    • Basic Tokens
    • Storage using Generics
    • Company
    • Collection
    • Football Card
    • Staking Module
    • MultiSender Wallet
    • English Auction
    • Dutch Auction
    • Attendance Sheet
    • Polling Contract
    • Lottery Contract
  • Decentralized Finance
    • Simple Swap Protocol Contract
    • Code of Swapping Protocol
  • Hacks
    • Coming soon
  • Hands on tutorials
    • Indexer tutorials
Powered by GitBook
On this page
Edit on GitHub
  1. Move vs Solidity

Compiled language

Move and Solidity are both compiled programming languages, but there are some differences between them.

Move is a statically-typed language developed by Facebook. It emphasizes safety and security, with features such as resource ownership and borrowing, and it is optimized for efficiency and low gas fees. Move's compiler generates bytecode that is executed on the Move Virtual Machine.

Solidity, on the other hand, is a contract-oriented, high-level programming language used for writing smart contracts on the Ethereum blockchain. It is also statically-typed and compiled, but it has some dynamic features as well. Solidity's compiler generates bytecode that is executed on the Ethereum Virtual Machine (EVM).

Both Move and Solidity share similarities in their syntax and structure, but they are optimized for different blockchains and use cases. In terms of their compilation process, both languages require a compilation step before they can be executed on their respective blockchain's virtual machine.

PreviousSmart contract verificationNextBasic Concepts

Last updated 2 years ago