From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 109fba,dad65365cb2b3396 X-Google-Attributes: gid109fba,public X-Google-Thread: fac41,dad65365cb2b3396 X-Google-Attributes: gidfac41,public X-Google-Thread: f43e6,bdaddde464f6e704 X-Google-Attributes: gidf43e6,public X-Google-Thread: 1014db,dad65365cb2b3396 X-Google-Attributes: gid1014db,public X-Google-Thread: 103376,dad65365cb2b3396 X-Google-Attributes: gid103376,public X-Google-Thread: 1108a1,bdaddde464f6e704 X-Google-Attributes: gid1108a1,public From: paul.johnson@gecm.com (Paul Johnson) Subject: Re: The disturbing myth of Eiffel portability Date: 1996/11/21 Message-ID: <57172k$325@miranda.gmrc.gecm.com>#1/1 X-Deja-AN: 197796997 references: <3294e64b.74799475@news2.ibm.net> <32b09c4c.252526073@news2.ibm.net> <56q0kp$ma0@halon.vggas.com> organization: GEC-Marconi Research Centre newsgroups: comp.lang.eiffel,comp.lang.ada,comp.lang.c,comp.lang.c++,comp.object,comp.software-eng Date: 1996-11-21T00:00:00+00:00 List-Id: In article , pcg@aber.ac.uk says... >Indeed one of the _major_ design goals of C++, according to its authors, >is to allow the programmer to define new datatypes [...] > >In this respect Eiffel is rather less attractive; user defined Eiffel >datatypes are not quite on a par with builtin ones either as to syntax >(which IMNHO is not important) or as to performance (which matters for >very fine granularity datatypes). Syntax first: I think you will find that the built-in Eiffel data types are on a par with the user-defined ones: unlike C++ things like integer and array are defined as classes. Efficiency: see the thread about benchmarks. Where exactly do you think that user defined data types lose performance? > It is rather significant IMNHO that Eiffel 3 has now expanded > datatypes, which however small a detail, allows for _considerable_ > improvements in performance, in particular asd to garbage collection. More importantly, it has allowed the builtin data types to become part of the class hierarchy. Paul. -- Paul Johnson | GEC-Marconi Ltd is not responsible for my opinions. | +44 1245 242244 +-----------+-----------------------------------------+ Work: | You are lost in a twisty maze of little Home: | standards, all different.