home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / object / 4964 < prev    next >
Encoding:
Text File  |  1993-01-21  |  2.1 KB  |  44 lines

  1. Newsgroups: comp.object
  2. Path: sparky!uunet!spool.mu.edu!uwm.edu!linac!att!cbnewsc!cbfsb!cbnewsg.cb.att.com!nh
  3. From: nh@cbnewsg.cb.att.com (nicholas.hounsome)
  4. Subject: Active Objects - What is the Problem?
  5. Message-ID: <1993Jan21.095917.15701@cbfsb.cb.att.com>
  6. Sender: news@cbfsb.cb.att.com
  7. Organization: AT&T
  8. Date: Thu, 21 Jan 1993 09:59:17 GMT
  9. Lines: 33
  10.  
  11. I have been trying to follow the thread on active objects and
  12. have become completely lost. Unfortunately most of the contributors
  13. seem to be lost too since everyone seems to be arguing over definitions.
  14.  
  15. In the heat of the discussion the point of the discussion seems to
  16. have been lost. Perhaps the best way to approach this is for people
  17. to say exactly what they think their active objects are needed for
  18. and then we can all judge what they mean by looking at their examples.
  19.  
  20. In my case I have an object which has to communicate accross a WAN.
  21. If I wrote it in C++ say and I had a method 'flashLed' which flashed
  22. a LED on some remote system then the process would block for an 
  23. unacceptable period of time when it could be doing other things.
  24. If I use asynchronous communication and return from my method before
  25. an acknowledgement is received then I cannot regain the context
  26. in which the acknowledgement should be received.
  27.  
  28. It seemed to me that some of what I want could be achieved by implementing
  29. objects as instances of SDL processes. The only problems with this
  30. from my point of view is that it would be impractical to implement
  31. the more traditional simple objects such as sets, complex numbers
  32. and strings in this way - Although I consider this to be bad on 
  33. general philosophical and theoretical grounds it would do for me if it
  34. wasn't that I have an aditional requirement for persistence .
  35.  
  36. The long term goal of OOP as I see it is to have objects that are
  37. just like real world objects such as people - They can act autonomously,
  38. concurrently and either do several things at once or at least receive
  39. a message and note it for future action whilst processing another.
  40. Also they are persistent.
  41.  
  42. Nick Hounsome
  43. AT&T Network Systems UK Ltd
  44.