How good is C# for serializing objects, C++ Vs. C#

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,
Question from a newbie to C#. How effective is C# with respect to
serialization techniques and object persistence ?
also, I'm trying to create an application in C# in .Net framework. are
there are pros and cons that one needs to be aware of when compared to C++ ?

your feedback is appreciated

Prasad
 
Well, if your using the built in serialization it doesnt matter because its
all IL under the hood. the Framework classes take care of the serialization
for you, your code doesnt actually do the serialization (well, by default) it
just points at what to serialize.

Now if you are doing custom serialization than if written correctly, the C++
should be faster, but not by much.
 
Actually I think Serialization is one area where C++ performs slower (for
some unknown reason).
You have to know there is a FALSE belief that ManagedC++ is faster C#.
There was an article on MSDN on this topic, but I can't find it again...
 
You have to know there is a FALSE belief that ManagedC++ is faster C#.
There was an article on MSDN on this topic, but I can't find it again...

Heck, Lloyd, you don't need to reference an ariticle. Managed code is
managed code, regardless of the syntax. It's all MSIL under the covers.
Managed C++ LOOKS like C++, but that's just skin deep.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Ambiguity has a certain quality to it.
 
Heck, Lloyd, you don't need to reference an ariticle. Managed code is
managed code, regardless of the syntax. It's all MSIL under the covers.
Managed C++ LOOKS like C++, but that's just skin deep.
Oops.. probably it was plain C++ vs C# in fact...
 
Back
Top