Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!think!harvard!seismo!elsie!cecil!keith From: keith@cecil.UUCP (keith gorlen) Newsgroups: net.lang.c++,net.lang.c Subject: Re: C++ vs. Objective-C Message-ID: <60@cecil.UUCP> Date: Wed, 19-Mar-86 10:47:05 EST Article-I.D.: cecil.60 Posted: Wed Mar 19 10:47:05 1986 Date-Received: Fri, 21-Mar-86 06:26:52 EST References: <780@well.UUCP>, <700@tymix.UUCP> Organization: NIH-CSL, Bethesda, MD Lines: 38 Xref: watmath net.lang.c++:103 net.lang.c:8204 >>Has anyone evaluated -- or actually USED -- both C++ and Objective-C >>from standpoints of ease of programming, clarity of code, and speed >>of execution? Which wins? >> I have evaluated Objective-C by attending one of their technical seminars, and I have purchased and studied the Objective-C Reference Manual, but I have not actually USED Objective-C. I have used C++ extensively, however. In my opinion, C++ POTENTIALLY wins by a mile on all counts. I say potentially because Objective-C includes a Smalltalk-80 -like class library in addition to a pre-processor. C++ provides only the tools for implementing a similar library, which I know from personal experience to be non-trivial. In a comparison between apples and apples, i.e., Objective-C vs. C++ and my Object-Oriented Program Support (OOPS) class library, the latter wins on ease of programming and clarity of code, and should also win on speed because of C++ inline functions and more efficient virtual function calls. The OOPS class library is in the public domain, but I have a considerable amount of work left to do on the documentation before it will be in useable form. >What is "Objective-C"? Pointer to book, reference manual, or article, >please. I am presently reading the C++ book and it would be an ideal >time for me to make at least vicarious comparisons. I don't have their materials handy, but the information you would like can be obtained from Productivity Products, Inc., Sandy Hook CT. I would also recommend their seminars. -- --- Keith Gorlen Computer Systems Laboratory Division of Computer Research and Technology National Institutes of Health Bethesda, MD 20892 phone: (301) 496-5363 uucp: {decvax!}seismo!elsie!cecil!keith