Deutsch English Français Italiano |
<v3dkgh$2e0me$1@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Lynn McGuire <lynnmcguire5@gmail.com> Newsgroups: comp.lang.c Subject: Re: C23 thoughts and opinions Date: Fri, 31 May 2024 17:55:13 -0500 Organization: A noiseless patient Spider Lines: 41 Message-ID: <v3dkgh$2e0me$1@dont-email.me> References: <v2l828$18v7f$1@dont-email.me> <v2o57g$1t5p4$1@raubtier-asyl.eternal-september.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Sat, 01 Jun 2024 00:55:13 +0200 (CEST) Injection-Info: dont-email.me; posting-host="ea59ddb53a60fca2ad45a59f8d0e87aa"; logging-data="2556622"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/XRt6m40V15kYSAnVjkXjuH2LgErE0ziU=" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:dyoCUUVL6SN/NQUZ37wL4dMdeNo= In-Reply-To: <v2o57g$1t5p4$1@raubtier-asyl.eternal-september.org> Content-Language: en-US Bytes: 2706 On 5/23/2024 2:25 PM, Bonita Montero wrote: > Am 22.05.2024 um 18:55 schrieb David Brown: >> In an attempt to bring some topicality to the group, has anyone >> started using, or considering, C23 ? There's quite a lot of change in >> it, especially compared to the minor changes in C17. >> >> <https://open-std.org/JTC1/SC22/WG14/www/docs/n3220.pdf> >> <https://en.wikipedia.org/wiki/C23_(C_standard_revision)> >> <https://en.cppreference.com/w/c/23> >> >> I like that it tidies up a lot of old stuff - it is neater to have >> things like "bool", "static_assert", etc., as part of the language >> rather than needing a half-dozen includes for such basic stuff. >> >> I like that it standardises a several useful extensions that have been >> in gcc and clang (and possibly other compilers) for many years. >> >> I'm not sure it will make a big difference to my own programming - >> when I want "typeof" or "chk_add()", I already use them in gcc. But >> for people restricted to standard C, there's more new to enjoy. And I >> prefer to use standard syntax when possible. >> >> "constexpr" is something I think I will find helpful, in at least some >> circumstances. >> > > I ask myself what the point is in further developing a language > like this that can actually no longer be saved. There is way more code written in C than C++. For instance, just about all real time systems such as device and engine management are written in C. One of my friends writes the device code for a NAS manufacturer. The code starts off with: while (1) { ... a bunch of code } Lynn