A quick introduction to programming EVM Smart Contracts using Yul Assembly
You don't always need to use assembly programming / Yul in Solidity smart contract development so why learn it?
Well for one, you get a better and deeper understanding of how the Solidity language works and how to debug and solve problems.
Moreover, when programming in Solidity you are guided by the compiler errors, but in assembly you are on your own and forced to think deeply about each line of code. At least giving a deeper understanding with assembly you will understand more about the solidity compiler.
It also helps you understand idiosyncrasies in Solidity.
Interestingly Yul has the following properties:
Does not have storage variables
Does not manage memory
Does not have arrays
Does not parse function arguments
Only has one data type (32 byte word)
This video is quite long, so if you want to jump to specific parts, below are the timestamps for each of the major sections covered:
00:00:35 Introduction
00:03:33 Yul Types
00:14:24 Yul Operations
00:25:44 Yul Documentation
Useful Links:
Yul Documentation: [ Ссылка ]
Yul Optimizations: [ Ссылка ]
EVM Codes: [ Ссылка ]
Github Repo: [ Ссылка ]
Feel free to donate and help me to buy a coffee or even a new MacBook pro! ;)
BTC: bc1q3fddwnufucdkpqz6fzj03xsskaqjxv8dag90x2
ETH: 0x67cC81389f44c0B980F93dc003300a31aD5dadA2
Many thanks everyone and I appreciate your support in any way!
Ещё видео!