Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.programming.threads > #4435 > unrolled thread

About C#

Started bySky89 <Sky89@sky68.com>
First post2018-07-05 18:12 -0400
Last post2018-07-05 18:12 -0400
Articles 1 — 1 participant

Back to article view | Back to comp.programming.threads


Contents

  About C# Sky89 <Sky89@sky68.com> - 2018-07-05 18:12 -0400

#4435 — About C#

FromSky89 <Sky89@sky68.com>
Date2018-07-05 18:12 -0400
SubjectAbout C#
Message-ID<phm54a$7pt$2@dont-email.me>
Hello,

I have just thought more about C#, and i think that when you work
with "threads" you are not able to get the native "handles" and "IDs" of 
the threads, this is why managed code of C# is not "flexible", so with 
C# you can not ooptimize the threads to use more than 64 logical 
processors under windows and with C# you can not optimize more for NUMA, 
this is why i will not port my Delphi and FreePascal projects to C#, 
because many of my projects are optimized for NUMA and optimized to use 
more than 64 logical processors.

Read the following about C# to notice it:

"A machine can have larger than 64 logical processors. In such cases the 
processors are grouped into chunks of 64. Each such group is called a 
processor group. .NET framework can only access the first processor 
group, so maximum number that this property can return is 64 (or 32 for 
32-bit machines)."


Read more here:

http://www.volatileread.com/Thread/Browse?pg=3&type=newest&tags=multithreading&questionType=1&customPageId=1



Thank you,
Amine Moulay Ramdane.



[toc] | [standalone]


Back to top | Article view | comp.programming.threads


csiph-web