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: 103376,e5eb8ca5dcea2827 X-Google-Attributes: gid103376,public From: Jon S Anthony Subject: Re: Ada OO Mechanism Date: 1999/05/27 Message-ID: <374DCDED.127A@synquiry.com>#1/1 X-Deja-AN: 482893715 Content-Transfer-Encoding: 7bit References: <7i05aq$rgl$1@news.orbitworld.net> <7i17gj$1u1k@news2.newsguy.com> <7icgkg$k4q$1@nnrp1.deja.com> <3749E9EC.2842436A@aasaa.ofe.org> <7id2eo$fag@drn.newsguy.com> <3749FF7D.F17CE16A@aasaa.ofe.org> <374AC676.F7AE0772@lmco.com> <7ieuja$5v9@news1.newsguy.com> <7ik2ms$70i@news2.newsguy.com> Content-Type: text/plain; charset=us-ascii MIME-Version: 1.0 NNTP-Posting-Date: Thu, 27 May 1999 19:00:09 EDT Newsgroups: comp.lang.ada Date: 1999-05-27T00:00:00+00:00 List-Id: > > Hyman Rosen wrote: > >... object-oriented techniques ... > Again, there are some AI-type object-oriented systems that generate > new subclasses on the fly, altering their fields and giving them new > methods. Right. This sort of thing is easy in CLOS. What's more, if you use the MOP you can even change how dispatching behaves, etc. Of course, you also have true multiple dispatch as well. > These are generally written in Lisp, where one can execute > data. To do this in either C++ or Ada, one would have to write > roughly the equivalent of a Lisp interpreter in the base language, > and then really write most of the program in that new language. Right. Which is why we switched to Lisp (after trying both Ada and C++ ). What's more, since moder CommonLisp implementations come with optimizing _compilers_ built in and dynamically accessible, you'd have to write (or hook to) optimizing code generators as well. Otherwise, you'd be sucking wind in performance. You'd also have to write/aquire a GC and optimize it. Of course, if you go to this effort, you may as well bag the original application and become a Lisp vendor. > Sam Mize /Jon -- Jon Anthony Synquiry Technologies, Ltd. Belmont, MA 02478, 617.484.3383 "Nightmares - Ha! The way my life's been going lately, Who'd notice?" -- Londo Mollari