├── .gas-snapshot ├── .gitignore ├── .gitmodules ├── Makefile ├── README.md ├── bytecodes ├── huff │ └── HSimpleStorage ├── sol │ └── SSimpleStorage ├── vy │ └── VSimpleStorage └── yul │ ├── YSimpleStorage │ └── YYSimpleStorage ├── compare_contract_creation.py ├── differences.txt ├── foundry.toml ├── gas-deployed.md ├── img ├── simple-storage-contract-creation-2.png ├── simple-storage-contract-creation.png ├── simple-storage-read-write-2.png └── simple-storage-read-write.png ├── requirements.txt ├── script └── DeployAll.s.sol ├── simple_storage_abi.json ├── solidity-breakdown.md ├── src ├── huff │ └── HSimpleStorage.huff ├── interfaces │ └── ISimpleStorage.sol ├── solidity │ └── SSimpleStorage.sol ├── vyper │ └── VSimpleStorage.vy └── yulsol │ └── YSimpleStorage.sol ├── test ├── HSimpleStorage.t.sol ├── SSimpleStorage.t.sol ├── VSimpleStorage.t.sol └── YSimpleStorage.t.sol ├── vyper-breakdown.md └── yul └── YYSimpleStorage.yul /.gas-snapshot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PatrickAlphaC/sc-language-comparison/HEAD/.gas-snapshot -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PatrickAlphaC/sc-language-comparison/HEAD/.gitignore -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PatrickAlphaC/sc-language-comparison/HEAD/.gitmodules -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PatrickAlphaC/sc-language-comparison/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PatrickAlphaC/sc-language-comparison/HEAD/README.md -------------------------------------------------------------------------------- /bytecodes/huff/HSimpleStorage: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PatrickAlphaC/sc-language-comparison/HEAD/bytecodes/huff/HSimpleStorage -------------------------------------------------------------------------------- /bytecodes/sol/SSimpleStorage: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PatrickAlphaC/sc-language-comparison/HEAD/bytecodes/sol/SSimpleStorage -------------------------------------------------------------------------------- /bytecodes/vy/VSimpleStorage: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PatrickAlphaC/sc-language-comparison/HEAD/bytecodes/vy/VSimpleStorage -------------------------------------------------------------------------------- /bytecodes/yul/YSimpleStorage: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PatrickAlphaC/sc-language-comparison/HEAD/bytecodes/yul/YSimpleStorage -------------------------------------------------------------------------------- /bytecodes/yul/YYSimpleStorage: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PatrickAlphaC/sc-language-comparison/HEAD/bytecodes/yul/YYSimpleStorage -------------------------------------------------------------------------------- /compare_contract_creation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PatrickAlphaC/sc-language-comparison/HEAD/compare_contract_creation.py -------------------------------------------------------------------------------- /differences.txt: -------------------------------------------------------------------------------- 1 | # Solidity 2 | 3 | Let's start with the contract creation code. -------------------------------------------------------------------------------- /foundry.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PatrickAlphaC/sc-language-comparison/HEAD/foundry.toml -------------------------------------------------------------------------------- /gas-deployed.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PatrickAlphaC/sc-language-comparison/HEAD/gas-deployed.md -------------------------------------------------------------------------------- /img/simple-storage-contract-creation-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PatrickAlphaC/sc-language-comparison/HEAD/img/simple-storage-contract-creation-2.png -------------------------------------------------------------------------------- /img/simple-storage-contract-creation.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PatrickAlphaC/sc-language-comparison/HEAD/img/simple-storage-contract-creation.png -------------------------------------------------------------------------------- /img/simple-storage-read-write-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PatrickAlphaC/sc-language-comparison/HEAD/img/simple-storage-read-write-2.png -------------------------------------------------------------------------------- /img/simple-storage-read-write.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PatrickAlphaC/sc-language-comparison/HEAD/img/simple-storage-read-write.png -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- 1 | web3 -------------------------------------------------------------------------------- /script/DeployAll.s.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PatrickAlphaC/sc-language-comparison/HEAD/script/DeployAll.s.sol -------------------------------------------------------------------------------- /simple_storage_abi.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PatrickAlphaC/sc-language-comparison/HEAD/simple_storage_abi.json -------------------------------------------------------------------------------- /solidity-breakdown.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PatrickAlphaC/sc-language-comparison/HEAD/solidity-breakdown.md -------------------------------------------------------------------------------- /src/huff/HSimpleStorage.huff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PatrickAlphaC/sc-language-comparison/HEAD/src/huff/HSimpleStorage.huff -------------------------------------------------------------------------------- /src/interfaces/ISimpleStorage.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PatrickAlphaC/sc-language-comparison/HEAD/src/interfaces/ISimpleStorage.sol -------------------------------------------------------------------------------- /src/solidity/SSimpleStorage.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PatrickAlphaC/sc-language-comparison/HEAD/src/solidity/SSimpleStorage.sol -------------------------------------------------------------------------------- /src/vyper/VSimpleStorage.vy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PatrickAlphaC/sc-language-comparison/HEAD/src/vyper/VSimpleStorage.vy -------------------------------------------------------------------------------- /src/yulsol/YSimpleStorage.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PatrickAlphaC/sc-language-comparison/HEAD/src/yulsol/YSimpleStorage.sol -------------------------------------------------------------------------------- /test/HSimpleStorage.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PatrickAlphaC/sc-language-comparison/HEAD/test/HSimpleStorage.t.sol -------------------------------------------------------------------------------- /test/SSimpleStorage.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PatrickAlphaC/sc-language-comparison/HEAD/test/SSimpleStorage.t.sol -------------------------------------------------------------------------------- /test/VSimpleStorage.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PatrickAlphaC/sc-language-comparison/HEAD/test/VSimpleStorage.t.sol -------------------------------------------------------------------------------- /test/YSimpleStorage.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PatrickAlphaC/sc-language-comparison/HEAD/test/YSimpleStorage.t.sol -------------------------------------------------------------------------------- /vyper-breakdown.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PatrickAlphaC/sc-language-comparison/HEAD/vyper-breakdown.md -------------------------------------------------------------------------------- /yul/YYSimpleStorage.yul: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PatrickAlphaC/sc-language-comparison/HEAD/yul/YYSimpleStorage.yul --------------------------------------------------------------------------------