R
R
RussianEarth2019-02-23 05:12:23
.NET
RussianEarth, 2019-02-23 05:12:23

Does a .NET developer need to know the internals of the garbage collector?

Why do you need to know it? Some languages ​​don't have it at all. And in others, it works exactly differently.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Saboteur, 2019-02-23
@saboteur_kiev

You do not need to know the internal device, but understanding the details of the work allows you to write applications that actively use memory and optimize the speed of work.
If you have accumulated unused memory areas, the garbage collector will decide to clean them up at some point. And this can cause a serious delay in the application. That's why it's good to understand how it works.

A
ApeCoder, 2019-02-23
@ApeCoder

If a developer wants to write highly loaded applications, then knowledge of the internals of the garbage collector will help him: he will be able to write code so that it consumes less memory, spends less time on garbage collection. It will also be able to quickly analyze the causes of poor performance or too high memory consumption.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question