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


Groups > comp.programming.threads > #4435

About C#

Path csiph.com!eternal-september.org!feeder.eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From Sky89 <Sky89@sky68.com>
Newsgroups comp.programming.threads
Subject About C#
Date Thu, 5 Jul 2018 18:12:15 -0400
Organization A noiseless patient Spider
Lines 32
Message-ID <phm54a$7pt$2@dont-email.me> (permalink)
Mime-Version 1.0
Content-Type text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding 7bit
Injection-Date Thu, 5 Jul 2018 22:12:26 -0000 (UTC)
Injection-Info reader02.eternal-september.org; posting-host="55a197bcbe716d13ddb8d45191ca0867"; logging-data="7997"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/DXcj4Z4NZdsafnKMO7QSb"
User-Agent Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0
Cancel-Lock sha1:+iEDZ4f+ckIIS2mzFCiRLJ6D4Pc=
Content-Language en-US
X-Mozilla-News-Host news://news.eternal-september.org:119
Xref csiph.com comp.programming.threads:4435

Show key headers only | View raw


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.



Back to comp.programming.threads | Previous | Next | Find similar | Unroll thread


Thread

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

csiph-web