.NET Inside Out Part 9 — Generating Func from a bunch of bytes in C# revisited

This is the ninth part of the .NET Inside Out series. For your convenience you can find other parts in the table of contents in Part 1 – Virtual and non-virtual calls in C# We know how to generate delegate from a byte array. Last time we did it by modifying some code using jumps … Continue reading .NET Inside Out Part 9 — Generating Func from a bunch of bytes in C# revisited

Custom memory allocation in C# Part 11 — Benchmarking UnsafeList

This is the eleventh part of the Custom memory allocation series. For your convenience you can find other parts in the table of contents in Part 1 — Allocating object on a stack I presented some results suggesting that UnsafeList is faster than the array or List< T> in .NET. Today it’s time to run … Continue reading Custom memory allocation in C# Part 11 — Benchmarking UnsafeList

Custom memory allocation in C# Part 10 — Hijacking new in .NET Core

This is the tenth part of the Custom memory allocation series. For your convenience you can find other parts in the table of contents in Part 1 — Allocating object on a stack I had .NET Core 2.1.103 x64 installed and I wanted to hijack new with the code from the last post. Unfortunately, it … Continue reading Custom memory allocation in C# Part 10 — Hijacking new in .NET Core