
ImmutableArray<T> iteration performance in C#
Introduction ImmutableArray<T> is one of the collections provided in the System.Collections.Immutable namespace. All collections in this namespace are immutable, meaning that they cannot be ...

Introduction ImmutableArray<T> is one of the collections provided in the System.Collections.Immutable namespace. All collections in this namespace are immutable, meaning that they cannot be ...

I’ve been writing articles about performance in .NET for several years but I frequently find in the comments the famous quote from the Donald Knuth’s paper “Structured Programming with go to Statem...

What is SIMD? SIMD stands for “Single Instruction, Multiple Data”. It is a type of parallel processing technique that allows a single instruction to be executed on multiple data elements simultane...

Before .NET 7 In C#, arithmetic operators are a handy feature that allows you to work with mathematical expressions using familiar symbols like +, -, *, and /. This simplifies your code by elimina...

NOTE: This series of articles use TypeChain to make strongly-typed calls to Ethereum. Please check its documentation and discussion board to learn how to set it up. It’s also assumed some knowle...

In previous posts I explained how React Query can be used to query smart contracts, that is, to perform read calls. Now I’m going to explain how to mutate, that is, to execute transactions on the b...

Wallets that support multiple accounts and multiple blockchains, like MetaMask, make it very easy for a user to change active account and active blockchain. A web3 frontend should react immediately...

In my previous post I explained how useQuery can be used to retrieve the value from an immutable method. Now let’s go up a notch and see how to use on methods where the returned value may change ov...

React Query is often described as the missing data-fetching library for React, but in more technical terms, it makes fetching, caching, synchronizing and updating server state in your React appl...

Introduction Performance depends not only on the logic of our own code but also, what the compiler does with it and how the CPU executes it. Modern CPUs try to maximize its throughput by executin...