| Deutsch English Français Italiano |
|
<vsjkc8$252sk$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!eternal-september.org!.POSTED!not-for-mail From: Muttley@DastardlyHQ.org Newsgroups: comp.lang.c Subject: Re: "A diagram of C23 basic types" Date: Wed, 2 Apr 2025 15:16:24 -0000 (UTC) Organization: A noiseless patient Spider Lines: 33 Message-ID: <vsjkc8$252sk$1@dont-email.me> References: <87y0wjaysg.fsf@gmail.com> <vsj1m8$1f8h2$1@dont-email.me> <vsj2l9$1j0as$1@dont-email.me> <vsjgk0$207gb$1@paganini.bofh.team> Injection-Date: Wed, 02 Apr 2025 17:16:25 +0200 (CEST) Injection-Info: dont-email.me; posting-host="60d8c282138488f3c9d99b9a203a2d89"; logging-data="2263956"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18wMN+UX3lbFXnyNy18DkLt" Cancel-Lock: sha1:JIkVnhOX/XZWlmmCXVuh83YDEVY= Bytes: 2214 On Wed, 2 Apr 2025 14:12:18 -0000 (UTC) antispam@fricas.org (Waldek Hebisch) wibbled: >Muttley@dastardlyhq.org wrote: >> On Wed, 2 Apr 2025 10:57:29 +0100 >> bart <bc@freeuk.com> wibbled: >>>On 02/04/2025 06:59, Alexis wrote: >>>> >>>> Thought people here might be interested in this image on Jens Gustedt's >>>> blog, which translates section 6.2.5, "Types", of the C23 standard >>>> into a graph of inclusions: >>>> >>>> https://gustedt.wordpress.com/2025/03/29/a-diagram-of-c23-basic-types/ >>>> >>> >>>So much for C being a 'simple' language. >> >> C should be left alone. It does what it needs to do for a systems language. >> Almost no use uses it for applications any more and sophisticated processing >> using complex types for example are far better done in C++. > >C99 has VMT (variable modified types). Thanks to VMT and complex types >C99 can naturaly do numeric computing that previously was done using >Fortran 77. Offical C++ has no VMT. C++ mechanizms look nicer, Officially no, but I've never come across a C++ compiler that didn't support them given they're all C compilers too. >but can be less efficient than using VMT-s, so C has advantage for >basic numeric "cores". Maybe, my knowledge of the internals of C++ std:array and std::vector arn't good enough to argue the point.