This is the fifteenth 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 Last time we saw how to do unsafe operations without the unsafe keyword. This time we’ll allocate some reference type on a … Continue reading Custom memory allocation in C# Part 15 — Allocating object on a stack without unsafe
Tag: .NET
Custom memory allocation in C# Part 14 — Unsafe code without unsafe keyword
This is the fourteenth 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 This whole series is about unsafe operations and manual memory managing. However, all the things I’ve shown can be done with no … Continue reading Custom memory allocation in C# Part 14 — Unsafe code without unsafe keyword
Types and Programming Languages Part 5 – Sleeping and measuring time
This is the fifth part of the Types and Programming Languages series. For your convenience you can find other parts in the table of contents in Part 1 — Do not return in finally How do you sleep in your application? There are multiple solutions, most of the times similar to Thread.Sleep which synchronously blocks … Continue reading Types and Programming Languages Part 5 – Sleeping and measuring time
.NET Inside Out Part 25 – Using is broken revisited
This is the twentieth fifth 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# Some time ago we saw how the using construct is broken in C#. I provided some hacks around that but … Continue reading .NET Inside Out Part 25 – Using is broken revisited
Async Wandering Part 11 — Wrapping fibers in context
This is the eleventh part of the Async Wandering series. For your convenience you can find other parts in the table of contents in Part 1 – Why creating Form from WinForms in unit tests breaks async? We continue exploring async code. Last time we saw how to use fibers to wait tasks. This effectively … Continue reading Async Wandering Part 11 — Wrapping fibers in context