<!-- MHonArc v2.4.4 --> <!--X-Subject: Re: [MUD-Dev] Languages --> <!--X-From-R13: Eunja Vnycraal <znynpunvNvanzr.pbz> --> <!--X-Date: from babe.globecomm.net [207.51.48.8] by in11.ibm.net id 864432503.12968-18 Sat May 24 00:08:23 1997 CUT --> <!--X-Message-Id: 3385CF00.41C67EA6#iname,com --> <!--X-Content-Type: text/plain --> <!--X-Reference: Pine.SOL.3.91.970522212444.14327A-100000@pollux --> <!--X-Reference: 338c1fce.16025866#relay,mnsinc.com --> <!--X-Head-End--> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> <html> <head> <title>MUD-Dev message, Re: [MUD-Dev] Languages</title> <!-- meta name="robots" content="noindex,nofollow" --> <link rev="made" href="mailto:malachai#iname,com"> </head> <body background="/backgrounds/paperback.gif" bgcolor="#ffffff" text="#000000" link="#0000FF" alink="#FF0000" vlink="#006000"> <font size="+4" color="#804040"> <strong><em>MUD-Dev<br>mailing list archive</em></strong> </font> <br> [ <a href="../">Other Periods</a> | <a href="../../">Other mailing lists</a> | <a href="/search.php3">Search</a> ] <br clear=all><hr> <!--X-Body-Begin--> <!--X-User-Header--> <!--X-User-Header-End--> <!--X-TopPNI--> Date: [ <a href="msg00724.html">Previous</a> | <a href="msg00726.html">Next</a> ] Thread: [ <a href="msg00708.html">Previous</a> | <a href="msg00739.html">Next</a> ] Index: [ <A HREF="author.html#00725">Author</A> | <A HREF="#00725">Date</A> | <A HREF="thread.html#00725">Thread</A> ] <!--X-TopPNI-End--> <!--X-MsgBody--> <!--X-Subject-Header-Begin--> <H1>Re: [MUD-Dev] Languages</H1> <HR> <!--X-Subject-Header-End--> <!--X-Head-of-Message--> <UL> <LI><em>To</em>: <A HREF="mailto:mud-dev#null,net">mud-dev#null,net</A></LI> <LI><em>Subject</em>: Re: [MUD-Dev] Languages</LI> <LI><em>From</em>: Shawn Halpenny <<A HREF="mailto:malachai#iname,com">malachai#iname,com</A>></LI> <LI><em>Date</em>: Fri, 23 May 1997 13:08:16 -0400</LI> <LI><em>Sender</em>: <A HREF="mailto:rsh#iname,com">rsh#iname,com</A></LI> </UL> <!--X-Head-of-Message-End--> <!--X-Head-Body-Sep-Begin--> <HR> <!--X-Head-Body-Sep-End--> <!--X-Body-of-Message--> <PRE> Caliban Tiresias Darklock wrote: > > On Thu, 22 May 1997 19:23:19 PST8PDT, Ben Greear > <greear#pollux,cs.uga.edu> wrote: > >I'm curious about some things. What exactly makes c++ slower? Is it > >more class calls because most ppl make accessing class data a function > >call? Perhaps inheritance mapping of some sort? I head that a c++ > >compiler basically just translates the code into c before compile anyway.. > > The problem I see in projects built using proper OOP in C++ is that the > same data is validated over... and over... and over... and over... > because none of the objects can make any assumptions about the others, > so they can't ever take for granted that someone else has validated the > data. If they did, they'd break the whole reuse thing. That reflects poor design in the reuseable components, IMO--or at least in the documentation of them. I'm a proponent of the "validate as close to the input source as possible" school of design, and if the interfaces are properly documented in those objects close to the source, there should be no reason for data to be validated ad infinitum. As for C++ being slower, there is a bit of extra overhead depending what you are doing with it. For example, non-inlined member function calls will each carry an extra parameter (the 'this' pointer) into the function. Use of virtual functions often requires an extra layer of pointer indirection in order to map to the desired member function. The list can go on...none of the features necessarily making C++ worse than any other language, nor particularly any better. I like it, though, and will use it because it will let me accomplish what I want with less effort than in other languages I've looked at. Also, I think the number of modern C++ compilers that translate code into C is between few and none (though it used to be common practice). -- Shawn Halpenny </PRE> <!--X-Body-of-Message-End--> <!--X-MsgBody-End--> <!--X-Follow-Ups--> <HR> <ul compact><li><strong>Follow-Ups</strong>: <ul> <li><strong><A NAME="00739" HREF="msg00739.html">Re: [MUD-Dev] Languages</A></strong> <ul compact><li><em>From:</em> caliban#darklock,com (Caliban Tiresias Darklock)</li></ul> </UL></LI></UL> <!--X-Follow-Ups-End--> <!--X-References--> <UL><LI><STRONG>References</STRONG>: <UL> <LI><STRONG><A NAME="00701" HREF="msg00701.html">Re: [MUD-Dev] Languages</A></STRONG> <UL><LI><EM>From:</EM> Ben Greear <greear#pollux,cs.uga.edu></LI></UL></LI> <LI><STRONG><A NAME="00708" HREF="msg00708.html">Re: [MUD-Dev] Languages</A></STRONG> <UL><LI><EM>From:</EM> caliban#darklock,com (Caliban Tiresias Darklock)</LI></UL></LI> </UL></LI></UL> <!--X-References-End--> <!--X-BotPNI--> <UL> <LI>Prev by Date: <STRONG><A HREF="msg00724.html">Q's</A></STRONG> </LI> <LI>Next by Date: <STRONG><A HREF="msg00726.html">Re: [MUD-Dev] Re: Issues from the digests and Wout's list</A></STRONG> </LI> <LI>Prev by thread: <STRONG><A HREF="msg00708.html">Re: [MUD-Dev] Languages</A></STRONG> </LI> <LI>Next by thread: <STRONG><A HREF="msg00739.html">Re: [MUD-Dev] Languages</A></STRONG> </LI> <LI>Index(es): <UL> <LI><A HREF="index.html#00725"><STRONG>Date</STRONG></A></LI> <LI><A HREF="thread.html#00725"><STRONG>Thread</STRONG></A></LI> </UL> </LI> </UL> <!--X-BotPNI-End--> <!--X-User-Footer--> <!--X-User-Footer-End--> <ul><li>Thread context: <BLOCKQUOTE><UL> <LI><STRONG>Re: [MUD-Dev] Languages</STRONG>, <EM>(continued)</EM> <ul compact> <LI><strong><A NAME="00663" HREF="msg00663.html">Re: [MUD-Dev] Languages</A></strong>, Chris Gray <a href="mailto:cg#ami-cg,GraySage.Edmonton.AB.CA">cg#ami-cg,GraySage.Edmonton.AB.CA</a>, Wed 21 May 1997, 21:47 GMT <UL> <LI><strong><A NAME="00680" HREF="msg00680.html">Re: [MUD-Dev] Languages</A></strong>, Caliban Tiresias Darklock <a href="mailto:caliban#darklock,com">caliban#darklock,com</a>, Thu 22 May 1997, 01:33 GMT <UL> <LI><strong><A NAME="00701" HREF="msg00701.html">Re: [MUD-Dev] Languages</A></strong>, Ben Greear <a href="mailto:greear#pollux,cs.uga.edu">greear#pollux,cs.uga.edu</a>, Fri 23 May 1997, 08:34 GMT <UL> <LI><strong><A NAME="00708" HREF="msg00708.html">Re: [MUD-Dev] Languages</A></strong>, Caliban Tiresias Darklock <a href="mailto:caliban#darklock,com">caliban#darklock,com</a>, Fri 23 May 1997, 11:54 GMT <UL> <LI><strong><A NAME="00725" HREF="msg00725.html">Re: [MUD-Dev] Languages</A></strong>, Shawn Halpenny <a href="mailto:malachai#iname,com">malachai#iname,com</a>, Sat 24 May 1997, 07:08 GMT <UL> <LI><strong><A NAME="00739" HREF="msg00739.html">Re: [MUD-Dev] Languages</A></strong>, Caliban Tiresias Darklock <a href="mailto:caliban#darklock,com">caliban#darklock,com</a>, Sun 25 May 1997, 03:39 GMT </LI> </UL> </LI> <LI><strong><A NAME="00727" HREF="msg00727.html">Re: [MUD-Dev] Languages</A></strong>, Nathan Yospe <a href="mailto:yospe#hawaii,edu">yospe#hawaii,edu</a>, Sat 24 May 1997, 08:13 GMT <UL> <LI><strong><A NAME="00735" HREF="msg00735.html">Re: [MUD-Dev] Languages</A></strong>, Caliban Tiresias Darklock <a href="mailto:caliban#darklock,com">caliban#darklock,com</a>, Sun 25 May 1997, 03:27 GMT <UL> <LI><strong><A NAME="00770" HREF="msg00770.html">Re: [MUD-Dev] Languages</A></strong>, Nathan Yospe <a href="mailto:yospe#hawaii,edu">yospe#hawaii,edu</a>, Sun 25 May 1997, 15:17 GMT </LI> </UL> </LI> </UL> </LI> </UL> </LI> </UL> </LI> </UL> </LI> </UL> </LI> </ul> </LI> </UL></BLOCKQUOTE> </ul> <hr> <center> [ <a href="../">Other Periods</a> | <a href="../../">Other mailing lists</a> | <a href="/search.php3">Search</a> ] </center> <hr> </body> </html>