home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / sys / next / programm / 5633 < prev    next >
Encoding:
Internet Message Format  |  1992-08-15  |  1.8 KB

  1. Path: sparky!uunet!psinntp!ncrlnk!torynews!tdat!tos28.teradata.com!cyk
  2. From: cyk@tos28.teradata.com
  3. Newsgroups: comp.sys.next.programmer
  4. Subject: NeXT Concepts.
  5. Keywords: Objetive-C, super, NeXT Window Server, MACH.
  6. Message-ID: <900@tdat.teradata.COM>
  7. Date: 14 Aug 92 20:50:21 GMT
  8. Sender: news@tdat.teradata.COM
  9. Reply-To: cyk@tos28.teradata.com ()
  10. Distribution: usa
  11. Organization: ATT/NCR Teradata Business Unit
  12. Lines: 51
  13. Originator: cyk@tos28
  14.  
  15.  
  16. Hi Guys,
  17.  
  18.    I came accross a couple of questions while reading the
  19. NeXT Concept document.  I would appreciate if any one can
  20. give me some help.  My questions are listed in the following:
  21.  
  22.    1] Can a client of a NeXT Step window server be running
  23.       on a remote host?  If this is possible, under which
  24.       document is this capability documented?
  25.  
  26.    2] Does NeXT Step take advantage of MACH's threading, 
  27.       virtual memory management and messaging facilities?
  28.  
  29.       Is there any documentation on how application programs
  30.       can benefit from the MACH facilities?
  31.  
  32.    3] In Concepts, there is an example, illustrating the use 
  33.       of SUPER in Objective-C, in the following way:
  34.  
  35.       In B.h:
  36.  
  37.          class B: A {
  38.             .
  39.             .
  40.          }
  41.  
  42.        In B.m:
  43.  
  44.          + new 
  45.          {
  46.         B   *bInstance;
  47.  
  48.         bInstance = [super new];
  49.                     .
  50.                     .
  51.                 return bInstance;
  52.            }
  53.  
  54.        The semantics illustrated above seems to imply that 
  55.        bInstance will be pointing an instance of A since
  56.        "super" causes the invokataion of A's new.
  57.  
  58.        Will class object B return a structure, which properly
  59.        represents the newly created instance of B, if B has 
  60.        additional instance variables other than A's?
  61.  
  62.    Thanks in advance for your help.
  63.  
  64.  
  65.                                  -----  Chi Ku
  66.