Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.c++ > #88958
| From | Tim Rentsch <tr.17687@z991.linuxsc.com> |
|---|---|
| Newsgroups | comp.lang.c++ |
| Subject | Re: Z++ for Windows and Linux |
| Date | 2023-02-02 07:09 -0800 |
| Organization | A noiseless patient Spider |
| Message-ID | <86357odry9.fsf@linuxsc.com> (permalink) |
| References | (4 earlier) <trc4o6$9u5$1@dont-email.me> <74258a32-da0a-4dbe-afef-f77f6c0b04bcn@googlegroups.com> <goiCL.517888$iS99.319006@fx16.iad> <c81e51a6-aa62-478f-ab08-ecc0798ae194n@googlegroups.com> <CRxCL.572693$vBI8.555237@fx15.iad> |
scott@slp53.sl.home (Scott Lurndal) writes: > Zorro <zorabih@gmail.com> writes: > >> On Tuesday, January 31, 2023 at 6:30:21 PM UTC-6, Scott Lurndal wrote: >> >>> Zorro <zor...@gmail.com> writes: >>> >>>> On Tuesday, January 31, 2023 at 4:29:42 PM UTC-6, Chris Thomasson wrote: >>>> >>>>> On 1/31/2023 2:22 PM, Keith Thompson wrote: >>>>> >>>>>> "Chris M. Thomasson" <chris.m.t...@gmail.com> writes: >>>> >>>> Having said all of that, Z++ is for building platform-independent, >>>> "distributed" software. It is NOT to replace >>>> C++ for making system software such as an IDE, just as C++ is NOT for >>>> writing operating systems. That is the >>>> job of C. >>> >>> Having written two commercial operating systems in C++ and two >>> bare-metal hypervisors in C++, I would dispute that assertion most >>> vociferously. >>> >>> Using carefully chosen subsets of the C++ language is perfectly >>> acceptable and generates code that compares favorably with C and >>> allows the encapsulation of data and methods in class structures. >> >> Every C++ class/struct will have to include a so-called virtual >> table. > > No, that is not the case. The virtual table is only present when > function overloads exist and in certain multiple inheritance > scenarios. [...] This claim isn't right. Any class (or struct) that has at least one virtual function will have a virtual function table. The existence of a virtual function table does not depend on whether the class/struct has overloaded functions or whether inheritance is present. Note that these comments apply to class/struct definitions, not to instances thereof. Each instance of a class or struct that has virtual functions will have a pointer to the appropriate virtual function table (with the understanding that such pointers may be shared when inheritance is present, and may have more complicated relationships when multiple inheritance is used).
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