Mansoor Buttmansoor-eth.hashnode.dev·Dec 21, 2024Learning the Dark Arts of Yul ( Part I )Introduction Yul is an intermediate language that can be used with Solidity or as a standalone language . It is particularly useful for writing optimized Smart Contract Lets look at some Coding Examples { // Declare variables without specifying t...Mastering the EVMSolidity
Nour Eldennour99.hashnode.dev·Jul 28, 2024SafeMath Library for Inline Assembly/Yul in Solidity Smart ContractsIntroduction After solving the Node Guardians Quest ‘Yul basics’, I've gained insights into writing assembly code for a SafeMath library. Since v0.8.0, Solidity supports overflow and underflow checks for arithmetic operations, but inline assembly doe...inline-assembly
0xffchain0xffchain.hashnode.dev·Jun 23, 2024Bits, Bytes, shifting and masking in Assembly (Yul)Bit A bit is the smallest unit of data in a computer and can be represented in only two patterns 1 0r 0, which can represent on/off , yes/no , true/false. But a bit is too small to represent any meaningful data. Byte A byte is a collection of 8 bits...30 readsSolidity
Shlok Kumaryakuzakiawe.hashnode.dev·Apr 18, 2023EVM bytecode and its relation to YulThe Ethereum Virtual Machine (EVM) is a critical component of the Ethereum network, responsible for executing smart contract bytecode. EVM bytecode is a low-level programming language used to write smart contracts on the Ethereum blockchain. EVM byte...Web3
Shlok Kumaryakuzakiawe.hashnode.dev·Apr 17, 2023Function Stack and its Usage in YulYul is an intermediate language that can be compiled to bytecode for different backends, such as the Ethereum Virtual Machine (EVM). It can be used in stand-alone mode and for “inline assembly” inside Solidity. Yul is designed to be readable, simple ...Ethereum
Shlok Kumaryakuzakiawe.hashnode.dev·Apr 16, 2023Defining and Calling Functions in YulYul is an intermediate-level programming language used for low-level EVM (Ethereum Virtual Machine) operations. It is used for writing smart contracts in Ethereum, and it is compatible with the Solidity programming language. In this blog, we will exp...42 readsYul
Shlok Kumaryakuzakiawe.hashnode.dev·Apr 14, 2023Loops in YulLoops are an essential part of programming languages, and Yul is no exception. Yul is a low-level language that is used to write smart contracts on the Ethereum blockchain. It is similar to assembly language and is designed to be efficient and easy t...51 readsYul
Shlok Kumaryakuzakiawe.hashnode.dev·Apr 13, 2023Conditional Statements in YulYul is an intermediate language that can be compiled to bytecode for different backends, such as the Ethereum Virtual Machine (EVM) or the eWASM virtual machine. It can be used in stand-alone mode or for "inline assembly" inside Solidity contracts. Y...43 readsEthereum
Shlok Kumaryakuzakiawe.hashnode.dev·Apr 12, 2023Memory and Storage in YulMemory and storage are two essential components of any computer system, including Yul. Yul is an assembly language used for smart contract development on the Ethereum blockchain. Memory in Yul is a temporary storage area used to store data during the...32 readsEthereum
Shlok Kumaryakuzakiawe.hashnode.dev·Apr 11, 2023Byte Arrays in YulA byte array is a collection of bytes, each representing an 8-bit value, and is a fundamental data type used in many programming languages, including Yul. They provide a way of representing a set of bytes as an array, which can then be manipulated us...Yul