home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!stanford.edu!unixhub!kaon.SLAC.Stanford.EDU!pfkeb
- From: pfkeb@kaon.SLAC.Stanford.EDU (Paul Kunz)
- Newsgroups: comp.lang.objective-c
- Subject: Re: Objective-C vs. C++
- Message-ID: <PFKEB.92Aug27213756@kaon.SLAC.Stanford.EDU>
- Date: 28 Aug 92 04:37:56 GMT
- References: <3330@tivoli.UUCP> <1992Aug27.140915.2914@dvorak.amd.com>
- Sender: news@unixhub.SLAC.Stanford.EDU
- Distribution: usa
- Organization: Stanford Linear Accelerator Center
- Lines: 30
- Nntp-Posting-Host: kaon.slac.stanford.edu
- In-reply-to: rpomeroy@aunext3.cam.amd.com's message of 27 Aug 92 14:09:15 GMT
-
-
- Well here's another two cents worth of opinion.
-
- There should be no contraversy between C++ and Objective-C. C++ is
- great for mathematical objects, such as matrices, vectors and the
- like where the operator overloading of "+", etc. makes a lot of sense.
- Also in computational kernals, the in-line functions are an
- absolute must for any descent speed. Neither can be done with
- Objective-C.
-
- But when your objects are bigger, like windows, buttons, sliders,
- and other controls of an applications, the easy to learn Objective-C
- language is more than adequate. Also the very late binding, and
- lack of compile time checking allows techniques such as delegation
- to be easily implemented. C++ is too much of a pain in this area.
-
- It is easy to conceive of an application that has a C++ computation
- kernal with an Objective-C GUI. All you need is the ultimate
- language: Objective-C++. What is Objective-C++? Well if Objective-C
- is a layer on top of C, the Objective-C++ is a layer on top of C++.
- And it is available today from your GNU sources or any NeXT machine.
-
- P.S.
-
- I had the pleasure of showing Brad Cox, the inventor of Objective-C,
- his first view of compilable, linkable, and runable Objective-C++ code.
- --
- Paul F. Kunz (NeXT mail ok)
- Stanford Linear Accelerator Center, Stanford University
- Voice: (415) 926-2884 (NeXT) Fax: (415) 926-3587
-