Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.c++ > #88952
| From | James Kuyper <jameskuyper@alumni.caltech.edu> |
|---|---|
| Newsgroups | comp.lang.c++ |
| Subject | Re: Z++ for Windows and Linux |
| Date | 2023-02-01 13:24 -0500 |
| Organization | A noiseless patient Spider |
| Message-ID | <treapg$dajj$1@dont-email.me> (permalink) |
| References | (3 earlier) <87a61ywdhw.fsf@nosuchdomain.example.com> <trc4o6$9u5$1@dont-email.me> <74258a32-da0a-4dbe-afef-f77f6c0b04bcn@googlegroups.com> <875ycmw7hf.fsf@nosuchdomain.example.com> <c464bbcd-c14f-4bb5-ae25-e7d500e509a2n@googlegroups.com> |
On 2/1/23 11:36, Zorro wrote: ... > OK, initially C++ was called C with classes, around 1989 templates and exceptions were added. > For many years C++ was compiled to C, and the C compiler would finish the job. Thus, C++ is a > direct extension of C, even though now C++ compiler does the whole work. So now you only need > to indicate "extern "C"" for linkage purposes. The C standard specifies the requirements for a conforming extension to C: "A conforming implementation may have extensions (including additional library functions), provided they do not alter the behavior of any strictly conforming program." (4p6) That's a very strict requirement, and it has been a very long time since any version of C++ even came close to qualifying as an extension to C. See Annex C.5 and C.6 of the C++ standard for a 10 page list of ways in which C++ gives code that is permitted in both languages a significantly different meaning than it would have as C code. The C++ standard has similar language in 4.1p8, except that it uses "well-formed" rather than "strictly conforming". There are significant conceptual differences between "strictly conforming", as that term is defined by the C standard, and "well-formed" as it is defined by the C++ standard, but they serve similar purposes in the two standards, and are both very strict requirements. I sincerely doubt, from what you've said, that Z++ even comes close to qualifying.
Back to comp.lang.c++ | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Z++ for Windows and Linux Zorro <zorabih@gmail.com> - 2023-01-24 15:09 -0800
Re: Z++ for Windows and Linux "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2023-01-24 15:12 -0800
Re: Z++ for Windows and Linux "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2023-01-24 15:14 -0800
Re: Z++ for Windows and Linux Öö Tiib <ootiib@hot.ee> - 2023-01-24 16:41 -0800
Re: Z++ for Windows and Linux Zorro <zorabih@gmail.com> - 2023-01-31 11:07 -0800
Re: Z++ for Windows and Linux scott@slp53.sl.home (Scott Lurndal) - 2023-01-31 19:27 +0000
Re: Z++ for Windows and Linux Zorro <zorabih@gmail.com> - 2023-01-31 11:00 -0800
Re: Z++ for Windows and Linux Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2023-01-31 14:22 -0800
Re: Z++ for Windows and Linux "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2023-01-31 14:29 -0800
Re: Z++ for Windows and Linux Zorro <zorabih@gmail.com> - 2023-01-31 15:25 -0800
Re: Z++ for Windows and Linux scott@slp53.sl.home (Scott Lurndal) - 2023-02-01 00:30 +0000
Re: Z++ for Windows and Linux Zorro <zorabih@gmail.com> - 2023-02-01 09:28 -0800
Re: Z++ for Windows and Linux scott@slp53.sl.home (Scott Lurndal) - 2023-02-01 18:05 +0000
Re: Z++ for Windows and Linux Tim Rentsch <tr.17687@z991.linuxsc.com> - 2023-02-02 07:09 -0800
Re: Z++ for Windows and Linux Muttley@dastardlyhq.com - 2023-02-02 16:11 +0000
Re: Z++ for Windows and Linux Zorro <zorabih@gmail.com> - 2023-02-02 13:39 -0800
Re: Z++ for Windows and Linux Tim Rentsch <tr.17687@z991.linuxsc.com> - 2023-02-02 17:42 -0800
Re: Z++ for Windows and Linux Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2023-01-31 16:32 -0800
Re: Z++ for Windows and Linux Zorro <zorabih@gmail.com> - 2023-02-01 08:36 -0800
Re: Z++ for Windows and Linux Muttley@dastardlyhq.com - 2023-02-01 17:10 +0000
Re: Z++ for Windows and Linux Zorro <zorabih@gmail.com> - 2023-02-01 10:07 -0800
Re: Z++ for Windows and Linux James Kuyper <jameskuyper@alumni.caltech.edu> - 2023-02-01 13:24 -0500
Re: Z++ for Windows and Linux Zorro <zorabih@gmail.com> - 2023-02-01 10:57 -0800
Re: Z++ for Windows and Linux Paavo Helde <eesnimi@osa.pri.ee> - 2023-02-01 08:52 +0200
Re: Z++ for Windows and Linux Zorro <zorabih@gmail.com> - 2023-02-01 08:01 -0800
Re: Z++ for Windows and Linux Paavo Helde <eesnimi@osa.pri.ee> - 2023-02-01 19:23 +0200
Re: Z++ for Windows and Linux Zorro <zorabih@gmail.com> - 2023-02-01 14:03 -0800
csiph-web