In this video, we're going to learn about a few C# and JIT decompilation tips using WinDBG.
Sztuka programowania 1147 dni, 1 godzinę, 41 minut temu 17 źrodło rozwiń
In this video, I'm going to show you 5 performance tips (or tricks) that you can apply in order to make your C# code run faster.
Sztuka programowania 1153 dni, 2 godziny, 4 minuty temu 107 źrodło rozwiń
If you are old enough to have experience in .net framework (and I hope you do, otherwise I will feel really old myself!), there is a high probability that you were concatenating directory paths wrong all the time! And that’s all because some time ago, somebody at Microsoft had, let’s say, not a best idea :P. But what’s the problem? Path.Combine can be used with one, two, three or even four arguments. In an ideal world the first argument should be passed as an absolute path and...
Sztuka programowania 1154 dni, 2 godziny, 4 minuty temu 109 źrodło rozwiń
Wszystko o metodach rozszerzających w C#
Sztuka programowania 1159 dni, 1 godzinę, 41 minut temu 85 źrodło rozwiń
This is video is the start of a brand new series of videos about C# / CLR internals. We're going to look at C# Switch Case Internals and what interesting things happen under the hood and how well it performs as compared to if-else statements.
Sztuka programowania 1161 dni, 1 godzinę, 35 minut temu 24 źrodło rozwiń
In this video, we're going look at struct devirtualization and how this feature works in the runtime today. We're going to look at some ways we can (ab)use this feature and what are the problems with the current implementation.
Sztuka programowania 1174 dni, 2 godziny, 23 minuty temu 25 źrodło rozwiń
In this video, we're going look in what situations JIT will emit bounds check for arrays and how to force it to generate bounds-check free code. Bounds Check elimination is something that we want to do to increase performance since each check has a cost associated with it especially that it will emit a possible branch. ♦ link to loop clone video: https://youtu.be/zxcHkEu6aTY
Sztuka programowania 1179 dni, 1 godzinę, 38 minut temu 16 źrodło rozwiń
In this video, we're going look at how JIT folds constants and optimizes functions buy inlining and then folding them. We shall also see a couple of examples where the compiler will refuse to fold code that would seem to be easy to fold. Note: At (8:30) I've made an editing error and the music gets very loud for ~10s and then it goes back down to normal volume, sorry about that. ♦ link to shift trick video: https://youtu.be/VxiZ7tV-XkM
Sztuka programowania 1182 dni, 1 godzinę, 27 minut temu 10 źrodło rozwiń
Omówienie ogólnych zasad jak powinno używać się wyjątków w C#.
Sztuka programowania 1187 dni, 1 godzinę, 45 minut temu 211 źrodło rozwiń
This video talks about a very cool concept called "value delegates." We will learn what they are, how to apply it to LINQ to decrease allocations to zero, and inline the delegate itself.
Sztuka programowania 1195 dni, 1 godzinę, 35 minut temu 31 źrodło rozwiń
This video talks about the "Skip" method, and differences in implementation between dotnet frameworks. Also, we will try to implement a less flexible but faster version of the "Skip" method. Enjoy. 🙂
Sztuka programowania 1196 dni, 1 godzinę, 56 minut temu 30 źrodło rozwiń
Sztuka programowania 1200 dni, 1 godzinę, 44 minuty temu 51 źrodło rozwiń
This video will show you some of the performance and allocation problems that you might encounter when writing LINQ expressions and offer a couple of solutions on how to solve them. LINQ Links: ♦ https://github.com/NetFabric/LinqBenchmarks ♦ https://github.com/NetFabric/NetFabric.Hyperlinq
Sztuka programowania 1210 dni, 1 godzinę, 26 minut temu 56 źrodło rozwiń
Asynchroniczny C# : ThreadPool, IAsyncResult, Task API i Async
Sztuka programowania 1222 dni, 1 godzinę, 43 minuty temu 191 źrodło rozwiń
Obszerny artykuł o hermetyzacji w programowaniu obiektowym na przykładach w C#.
Sztuka programowania 1285 dni, 2 godziny, 8 minut temu 73 źrodło rozwiń
Abstrakcja w Programowaniu Obiektowym, przedstawiona na przykładach w C#/.NET
Sztuka programowania 1291 dni, 16 godzin, 35 minut temu 94 źrodło rozwiń
Artykuł kierowany dla osób, które chcą zostać programistami .NET. Dowiesz się nim podstaw programowania obiektowego, to znaczy czym jest dziedziczenie.
Sztuka programowania 1299 dni, 1 godzinę, 45 minut temu 81 źrodło rozwiń
Artykuł kierowany dla osób, które chcą zostać programistami .NET. Dowiesz się nim podstaw programowania obiektowego, to znaczy czym jest dziedziczenie.
Sztuka programowania 1301 dni, 44 minuty temu 27 źrodło rozwiń
How I built a very simple macro system for C# that works right in the code editor
Today I will write about the way variance influences type checking in C#. Yes, the fact that one type can be passed to a generic method that requires another type, depends on these 2 small keywords we write before ‘T’ (or whatever 😉) in interface header.
Sztuka programowania 1643 dni, 2 godziny, 42 minuty temu 96 źrodło rozwiń