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 : 30. Dec 2024, 12:25:44
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <20241230132544.00005f92@yahoo.com>
References : 1 2 3 4 5 6
User-Agent : Claws Mail 4.1.1 (GTK 3.24.34; x86_64-w64-mingw32)
On Sun, 29 Dec 2024 14:51:17 +0100
David Brown <david.brown@hesbynett.no> wrote:

On 29/12/2024 10:32, Muttley@dastardlyhq.com wrote:
On Sat, 28 Dec 2024 16:20:57 +0100
David Brown <david.brown@hesbynett.no> gabbled: 
On 28/12/2024 11:19, Muttley@dastardlyhq.com wrote: 
Being serious, I haven't even checked whats new in it but going
by C++ 2020
it'll be yet more syntactic soup to support features absolutely
no one outside
of ivory tower academic discussions asked for. It'll just add yet
morecomplexity to compilers, hence more potential bugs and make
the C++ learning
curve even steeper meaning yet more new programmers abandon it -
or don't
even start - for languages such as Python.
 
>
Ah, yes - the classic well-reasoned argument.  Why would one ever
want to /look/ at the new standard before condemning it? 
 
Ah yes, the same logic that has produced cars with ever more,
harder to use complexity that no one wants. 
 
No, not remotely.  But then, you knew that before making what you
mistakenly thought was a smart or witty reply.
 
If you don't like the complexity of newer C++ standards, that's fine.
If you don't think it is a good direction for the language, fair
enough. You can choose a different language, or stick to an older
standard, or make your own language, or get involved in the C++
standardisation processes and try to influence them.
 
You can have an informed opinion about C++, and agree or disagree
with the opinions of the committee members.
 
But what you don't get to do - or at least, don't get to do if you
want to be viewed seriously - is spout an /uninformed/ opinion.
That's no more than mindless prejudice, and of no interest to anyone.
 
So go away, and read about C++23.  Learn what is new or changed.
/Then/ you can come back and tell us what you don't like about it -
or perhaps you'll find some things that you /do/ like about it.
Either way, you'll be at least vaguely qualified to express an
opinion on it.
 
<https://en.wikipedia.org/wiki/C%2B%2B23>
 

Comments after cursory view:

C++20 introduces two promising language features - concepts and
coroutines. Both were introduces without proper support in standard
library. Absence of support in library in both cases was justified by
probably correct claim that the best library constructs are still in
research state, non-crystallized. The hope was that universal
availability of this features at compiler level will help to best
library constructs to mature.

In case of coroutines developers were left with choice of 3 options:
1. To write a lot of boiler-plate code each time they a going to use
coroutines.
2. To try to organize repetitive patterns in the library (likely
template library) of their own and reuse it between parts of the
programs and multiple projects. Hopefully, share with community.
Hopefully, under liberal license.
3. Don't use coroutines

In case of concepts, the choice was even narrower:
1. Use concepts when you occasionally are writing container-like or
algorithm-like template of your own.
2. Don't use concepts.

Nobody was realistically expecting that grassroots developers will use
concepts to develop comprehensive widely reusable library that
duplicates functionality of STL, but brings advantage of sane error
messages.


So, where we are 3 years later?
W.r.t. concepts, in the same unfortunate place.
W.r.t. coroutines, library provides std::generator. I didn't look at it
yet. Hopefully, it works. Hopefully it is easy to use. But it is just
one of many possible uses of coroutines, and I would think that
it is not the one that could be considered most common.


Did I miss something?







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