M
M
Max Suprunenko2015-10-26 21:54:44
C++ / C#
Max Suprunenko, 2015-10-26 21:54:44

Which language is better for C++\C# memory management (manual or automatic)?

Which language is better for C++\C# memory management (manual or automatic) ?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
V
Vladimir S, 2015-10-27
@msuprunenko

if memory management means garbage collection, then c# is definitely better, but if it is management, then c++ is better

O
Oleg Tsilyurik, 2015-10-26
@Olej

Which language is better for C++\C# memory management (manual or automatic) ?

Nonsensical question... it's like comparing "yellow" to "sour" - which is better?
They are completely different things with their pros and cons.

V
Vyacheslav Zolotov, 2015-10-26
@SZolotov

We need to start not with the question which language is better for working with memory, but with the question: why should I work with memory directly?
If you are developing applications for embedded systems, where there is a small amount of memory and / or severely limited hardware resources, etc. - С++
In addition, work with "machine memory" is also in C#, the same pointers...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question