Tag: .NET (page 1 of 3)

C# 8: Default Interface Methods Implementation

Continuing to examine new C# 8 features, today we are taking a look at a bit controversial one. It’s a possibility to provide default interface methods implementation.

How will this possibility change the way we write C#? Why is it being introduced? I’ll try to address these questions today πŸ™‚

Continue reading

C# 8: Slicing with Indexes and Ranges

C# 8.0 brings us another nice feature called slicing. In order to make it possible, two new concepts are introduced: Indexes and Ranges.

Let’s see how this tiny feature is supposed to make our life easier πŸ™‚

Continue reading

C# 8: Nullable Reference Types

In the few next posts I’d like to share with you some of the most interesting C# 8.0 features. Today we’re going to start with examining nullable reference types. Let’s see then πŸ™‚

Continue reading

[.NET Internals 10] Application execution model

Knowing the idea and main benefits of JIT compilation from the previous post, we’ll now see how it fits into .NET applications execution model.

By execution model I mean a process of having a .NET Framework application actually executed on the machine (CPU), starting from having its source code written. It contains all steps and actions necessary to happen in order to transform source code (like C#) into machine (assembly) code and execute it.

Continue reading

[.NET Internals 09] Just-In-Time (JIT) compilation

Have you ever heard the term JIT? It’s an acronym for Just-In-Time. JIT compilerΒ is a tool which performs the JIT compilation,Β which is a crucial feature of .NET applications. Let’s say a few more words on it today πŸ™‚

Continue reading

[.NET Internals 08] What about Large Object Heap (LOH)?

So far within the .NET Internals series we focused on Small Object Heap (SOH). We know, for instance, that the LOH is not compacted (by default) during garbage collection. So how is it actually handled by the GC?
Continue reading

[.NET Internals 07] Unmanaged resources: finalization, fReachable queue and dispose pattern

Today we’re going to see how unmanaged resources are handled by .NET, what are finalization andΒ fReachable queues and what’s the garbage collector’s role in it. We’ll also get to know what is a dispose pattern and see how to implement it.
Continue reading

[.NET Internals 06] Generational garbage collection

Continuing .NET Internals series on the blog, today we’re going to see what is generational garbage collection. You’ll also get to know what is a card table data structure and for what it’s used πŸ™‚
Continue reading

[.NET Internals 05] Garbage collection: marking, collection and heaps compaction

Today, in the next article from .NET Internals series on my blog, we’re going to investigate how the garbage collector (GC) actually releases the memory (which is its main purpose as could be read here), what is marking phase and how the managed heaps are compacted in order to optimize the process. We’ll also see when may the collection be triggered.
Continue reading

[.NET Internals 04] What is Garbage Collection? Memory allocation in .NET

In the next, 4th post from .NET Internals series, we’re going to meet a new friend calledΒ Garbage Collector, discuss this guy’s main responsibilities and see what is memory allocation in .NET applications and how it works.

Ready? Let’s start then! πŸ˜‰
Continue reading

Older posts

© 2019 CodeJourney.net

Theme by Anders NorenUp ↑