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: fac41,b87849933931bc93 X-Google-Attributes: gidfac41,public X-Google-Thread: 103376,b87849933931bc93 X-Google-Attributes: gid103376,public X-Google-Thread: 109fba,b87849933931bc93 X-Google-Attributes: gid109fba,public X-Google-Thread: 1108a1,b87849933931bc93 X-Google-Attributes: gid1108a1,public X-Google-Thread: f43e6,b87849933931bc93 X-Google-Attributes: gidf43e6,public X-Google-Thread: 114809,b87849933931bc93 X-Google-Attributes: gid114809,public From: dewar@merv.cs.nyu.edu (Robert Dewar) Subject: Re: What is wrong with OO ? Date: 1997/01/10 Message-ID: #1/1 X-Deja-AN: 208983033 references: <5acjtn$5uj@news3.digex.net> <32D11FD3.41C6@wi.leidenuniv.nl> <32D53473.4DAA423A@eiffel.com> <5b5iq5$jfj@mulga.cs.mu.OZ.AU> organization: New York University newsgroups: comp.lang.c++,comp.lang.smalltalk,comp.lang.eiffel,comp.lang.ada,comp.object,comp.software-eng Date: 1997-01-10T00:00:00+00:00 List-Id: Fergus said, responding to me ">To implement such a switch would be about thirty minutes work in GNAT, but >I doubt it would be found to be of much use in practice, certainly no one >has indicated an interest in such a switch. Let me hereby indicate interest in such a switch! I think it would be quite useful in practice." Well of course people are interested if it costs them nothing to be interested :-) It will be interesting to see if any of our customers picks up on this as something that might be useful to them. Right now, we have lots of things to do that definitely *are* of interest to our customers, so these certainly have higher priority. Actually, not many people in practice are even using -gnatn to activate interunit inlining (which works fine, and we use it in the compiler itself). Relatively few applications are at the level where they are worrying about performance that much, but of course for those that do, it helps a lot. Also if you have efective inlining, you tend to design with this expectation. The GNAT compiler is certainly written this way. So far, all released compilers have had full debugging assertions turned on, and no inlining, but the compiler we recently shipped for the second phase of the DEC field test for the VMS Alpha port is the fast compiler with assertions off, and full inlining, and it does make quite a difference in speed. I don't know if the 3.09 releases will be the fast compiler or not, we have not decided yet ... Robert Dewar Ada Core Technologies