Tag: C# (page 1 of 3)

10 Most Shocking JavaScript Features for C# Developers

Whether you’re a C# (or similar language like Java) developer eager to learn JavaScript or you’ve already been working with JS for some time, I hope you find this article interesting. I collected for you 10 JavaScript features which are/were the most shocking for C# developers who learnt JavaScript.

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 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

[.NET Internals 03] Boxing and unboxing

As we are already familiar with the basics of memory and data structures used by .NET applications, in this third post from .NET Internals series we’re going to dig into boxing and unboxing and their performance implications.
Continue reading

[.NET Internals 02] Stack and heap – .NET data structures

In the second post of .NET Internals series, we’re going to investigate the organization of .NET process’s memory. We’ll see what is stack and heap and what kind of data is stored on each of these memory structures.
Continue reading

[.NET Internals 01] Basics of memory structure

Have you ever wondered about what’s under the hood of the applications you develop?

Ever been surprised that there’s no need to worry about memory allocation and deallocation using high-level programming languages such as Java or C# after leaving the university?

Still remember (old) C++ times with delete statement?

 

Source: “Arnaud Porterie – The Truth About C++”

By this post, I’d like to introduce a new “.NET Internals” series on the blog. I will be publishing a new post on .NET internal concepts every Wednesday. No end date for the moment 🙂
Continue reading

Older posts

© 2018 CodeJourney.net

Theme by Anders NorenUp ↑