J
Juan Dent
Hi,
I need to know if someone has made benchmarks to investigate the performance
of NGEN'ed C# code versus pure C++ native code. I once heard NGEN'ed C#
*could* be faster because it generates native code that takes into account
the capacities of the processor in the machine.
In my case, the code needs to use some COM objects for which I could create
wrappers in C++/CLI - instead of building Interop Assemblies - for C#
consumption. I don't think these wrappers will pose any noticeable weight in
the performance.
My second question is memory usage. A friend of mine says that every time he
opens a C# application the memory consumption goes too high, and we need the
program to run in RAM restricted environments. Is this true? Can it be tuned?
If it is true, what causes it?
I need to know if someone has made benchmarks to investigate the performance
of NGEN'ed C# code versus pure C++ native code. I once heard NGEN'ed C#
*could* be faster because it generates native code that takes into account
the capacities of the processor in the machine.
In my case, the code needs to use some COM objects for which I could create
wrappers in C++/CLI - instead of building Interop Assemblies - for C#
consumption. I don't think these wrappers will pose any noticeable weight in
the performance.
My second question is memory usage. A friend of mine says that every time he
opens a C# application the memory consumption goes too high, and we need the
program to run in RAM restricted environments. Is this true? Can it be tuned?
If it is true, what causes it?