chrisben <an*******@discussions.microsoft.com> wrote:
Has anyone done any experiment on comparison between C++ and C# on
socket rec/send speed?
Conditions:
in Windows system, same CPU for senders or receivers. Can you see how
much faster a C++ app can send/rec messages than a C# app? I am
working on some real time apps with heave traffic. I am not sure
whether .NET can handle it at all.
While I haven't tested it, I'd imagine you'd have to have a *very* fast
network connection and a pretty slow CPU for the speed of the computers
(and the programs they're running) to be the gating factor.
How heavy is heavy traffic in this case?
When writing "real time" apps with .NET, the main thing to worry about
is the garbage collector, I believe, rather than the speed of .NET code
itself.
--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too