kalapos.net


about programming and software engineering by a hungarian living in austria
Discount for my course: High Performance Coding with .NET Core and C#

Contents tagged with Performance

ref structs in C# 7.2 - .NET Concept of the Week - Episode 16

In this episode we talk about 'ref structs', which was introduced in C# 7.2. You will learn what it is, where it is used in the framework and when you should use it in your own code.



C# Exception Filters - .NET Concept of the Week - Episode 14

In this episode we talk about exception filters in C#. We will take a look at the generated IL code and we will also discuss that entering a catch block always unwinds the stack, which makes debugging harder and also can hurt performance. With an exception filter we can avoid this!



Struct layout in C# - .NET Concept of the Week - Episode 13

In this episode I talk about struct layout in C#. You will learn how C# structs are represented in memory and you will also learn how you can influence this with StructLayoutAttribute.



SIMD and Vectorization - .NET Concept of the Week - Episode 11

In this episode I talk about SIMD in .NET. We take a look at the Vector type from the System.Numerics namespace and I show you how you can tell RyuJIT to generate SIMD instructions with this Vector type.



BenchmarkDotNet - .NET Concept of the week - Episode 5

In this episode I talk about BenchmarkDotNet.



C# 7 Performance - Playlist

I have a part in my 'High performance Coding with .NET and C#' Udemy course that is basically a stand-alone section. I uploaded it to YouTube and in this blogpost, you can watch the videos in order. It's about performance related features in C# 7.



My online teaching story: High Performance Coding with .NET Core and C#

I recently published an online course (yeaah)! In this post I would like to share the background story.



How the evil System.Xml.Serialization.XmlSerializer class can bring down a server with 32Gb ram

This week I worked on some interesting stuff and fortunately there was a cool learning outcome from it, which is worth a blogpost, so I summarize it here.