Hi.

Is really threading in .net so slow. I'm a mfc programmer that have stared
to write code in managed c++. I have compared thread loops in mfc with .net,
and .net loops seems to be extremely slow. I just increment a value, and
while mfc is upp at 1300000incs, .net loop has reached 4054. Am I missing
something here or is this the fakt...

Steffo

Re: Threading speed by lasse

lasse
Tue Jan 25 03:48:58 CST 2005

Stefan wrote:
<snip>
> Is really threading in .net so slow. I'm a mfc programmer that have stared
> to write code in managed c++. I have compared thread loops in mfc with .net,
> and .net loops seems to be extremely slow. I just increment a value, and
> while mfc is upp at 1300000incs, .net loop has reached 4054. Am I missing
> something here or is this the fakt...
<snip>

You need to post your code, there could be a million things wrong with
your example that skews the results.

--
Lasse Vågsæther Karlsen
http://www.vkarlsen.no/
mailto:lasse@vkarlsen.no
PGP KeyID: 0x0270466B

Re: Threading speed by Alvin

Alvin
Tue Jan 25 06:29:29 CST 2005

Post your code, folk in here are quite eager to test your claim

--
Regards,
Alvin Bruney
"Stefan" <stefan@> wrote in message
news:OHwh59rAFHA.2804@TK2MSFTNGP15.phx.gbl...
> Hi.
>
> Is really threading in .net so slow. I'm a mfc programmer that have stared
> to write code in managed c++. I have compared thread loops in mfc with
> .net, and .net loops seems to be extremely slow. I just increment a
> value, and while mfc is upp at 1300000incs, .net loop has reached 4054. Am
> I missing something here or is this the fakt...
>
> Steffo
>



Re: Threading speed by Jon

Jon
Tue Jan 25 14:13:14 CST 2005

<"Stefan" <stefan@>> wrote:
> Is really threading in .net so slow. I'm a mfc programmer that have stared
> to write code in managed c++. I have compared thread loops in mfc with .net,
> and .net loops seems to be extremely slow. I just increment a value, and
> while mfc is upp at 1300000incs, .net loop has reached 4054. Am I missing
> something here or is this the fakt...

I suspect your benchmarking methodology is flawed. Without seeing the
code, it's impossible to tell, of course.

--
Jon Skeet - <skeet@pobox.com>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too