Solidity Assembly Programming in Yul

Поделиться
HTML-код
  • Опубликовано: 26 сен 2024
  • 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: docs.solidityl...
    Yul Optimizations: hackmd.io/@gn5...
    EVM Codes: www.evm.codes/...
    Github Repo: github.com/rea...
    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!

Комментарии • 3

  • @merv893
    @merv893 Год назад +2

    I used to hate going into assembly at school, this assembly is much better.

  • @israeloluwafisayomishittu35
    @israeloluwafisayomishittu35 Год назад +1

    👏 thank you sir

  •  Год назад +1

    Thank you