Re: We have a new standard!

Liste des GroupesRevenir à cl c++ 
Sujet : Re: We have a new standard!
De : already5chosen (at) *nospam* yahoo.com (Michael S)
Groupes : comp.lang.c++
Date : 29. Dec 2024, 18:50:25
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <20241229195025.00007ae3@yahoo.com>
References : 1 2 3 4 5 6 7
User-Agent : Claws Mail 4.1.1 (GTK 3.24.34; x86_64-w64-mingw32)
On Sun, 29 Dec 2024 11:57:45 -0500
Sam <sam@email-scan.com> wrote:

Muttley@dastardlyhq.com writes:
 
On Sun, 29 Dec 2024 08:50:16 -0500
Sam <sam@email-scan.com> gabbled: 
But C++20 jumped the shark, when the standardization process was
hijacked by Microsoft in order to cram coroutines into the
language, which noone wanted, cared, or asked for, simply because
the standard threading model in Windows blows chunks, performance
wise, and Microsoft desperately needed a multithreading model that
did not suck. 
>
I looked at co-routines and wondered wtf the author(s) was smoking.
How its supposed to be simpler than simply using a local state
machine beats the fsckout of me. 
 
Everything will make sense to you when you look at the co-routines 
proposal, and note its authorship:
 
https://isocpp.org/files/papers/N4402.pdf
 
Visual C++ does not have an impressive track record of zippy
adoptions of new C++ language feature. Most of the time it gets
beaten to the punch by gcc. Weirdly, it was the first out of the gate
with co-routines.
 
As I said: std::thread blows chunks on Windows. This was Microsoft's 
solution.
>

That makes no sense.
If Microsoft was so concerned about lack of competitiveness of
std::thread under Windows then it would campaign for addition to the
standard of non-joinable threads (a.k.a. thread pools, a.k.a. work
items) rather than of coroutines. May be, also for addition of IO
completion ports, although those are much harder to standardize in
OS-independent manner.
The third possibility would be addition of stackful co-routines (a.k.a.
fibers, a.k.a. cooperatively scheduled threads).
Stackless coroutines of C++ serve non-trivially different purposes than
all things mentioned above and unlikely to replace threads except in
*very* unusual circumstances.



Date Sujet#  Auteur
27 Dec15:47 * We have a new standard!45Stefan Ram
28 Dec03:51 +* Re: We have a new standard!35Sam
28 Dec05:11 i+- Re: We have a new standard!1Chris M. Thomasson
28 Dec11:19 i`* Re: We have a new standard!33Muttley
28 Dec16:20 i +* Re: We have a new standard!21David Brown
29 Dec10:32 i i`* Re: We have a new standard!20Muttley
29 Dec14:51 i i `* Re: We have a new standard!19David Brown
29 Dec17:16 i i  +* Re: We have a new standard!6Muttley
30 Dec08:34 i i  i`* Re: We have a new standard!5David Brown
30 Dec10:34 i i  i `* Re: We have a new standard!4Muttley
30 Dec15:37 i i  i  `* Re: We have a new standard!3David Brown
30 Dec16:08 i i  i   `* Re: We have a new standard!2Muttley
31 Dec00:06 i i  i    `- Re: We have a new standard!1James Kuyper
29 Dec23:12 i i  +* Re: We have a new standard!10Paavo Helde
29 Dec23:44 i i  i+* Re: We have a new standard!5Michael S
30 Dec12:17 i i  ii`* Re: We have a new standard!4Tim Rentsch
30 Dec13:00 i i  ii `* Re: We have a new standard!3boltar
30 Dec15:52 i i  ii  +- Re: We have a new standard!1David Brown
31 Dec03:06 i i  ii  `- Re: We have a new standard!1Tim Rentsch
30 Dec12:14 i i  i`* Re: We have a new standard!4Tim Rentsch
30 Dec16:05 i i  i +- Re: We have a new standard!1David Brown
31 Dec01:02 i i  i `* Re: We have a new standard!2Chris M. Thomasson
31 Dec02:58 i i  i  `- Re: We have a new standard!1Tim Rentsch
30 Dec12:25 i i  `* Re: We have a new standard!2Michael S
30 Dec17:15 i i   `- Re: We have a new standard!1David Brown
28 Dec19:05 i `* Re: We have a new standard!11Phillip
29 Dec10:43 i  `* Re: We have a new standard!10Muttley
29 Dec14:50 i   `* Re: We have a new standard!9Sam
29 Dec15:33 i    +* Re: We have a new standard!4wij
29 Dec17:17 i    i`* Re: We have a new standard!3Muttley
29 Dec18:08 i    i `* Re: We have a new standard!2wij
29 Dec18:11 i    i  `- Re: We have a new standard!1Muttley
29 Dec17:15 i    `* Re: We have a new standard!4Muttley
29 Dec17:57 i     `* Re: We have a new standard!3Sam
29 Dec18:08 i      +- Re: We have a new standard!1Muttley
29 Dec18:50 i      `- Re: We have a new standard!1Michael S
28 Dec04:17 `* Re: We have a new standard!9Benutzer Eins
28 Dec17:19  `* Re: We have a new standard!8Chris Ahlstrom
28 Dec23:06   +* Re: We have a new standard!6Lynn McGuire
28 Dec23:07   i`* Re: We have a new standard!5Lynn McGuire
29 Dec01:41   i `* Re: We have a new standard!4Chris M. Thomasson
29 Dec03:42   i  `* Re: We have a new standard!3Lynn McGuire
29 Dec03:46   i   +- Re: We have a new standard!1Chris M. Thomasson
29 Dec03:47   i   `- Re: We have a new standard!1Chris M. Thomasson
29 Dec15:01   `- Re: We have a new standard!1David Brown

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal