home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / lang / smalltal / 2795 < prev    next >
Encoding:
Text File  |  1993-01-22  |  3.4 KB  |  76 lines

  1. Newsgroups: comp.lang.smalltalk
  2. Path: sparky!uunet!cs.utexas.edu!csc.ti.com!tilde.csc.ti.com!ticipa!ticipa.pac.sc.ti.com!tomb
  3. From: tomb@ticipa.pac.sc.ti.com (Thomas Burns)
  4. Subject: Re: SmallTalk Products Recommendation
  5. In-Reply-To: panu@ajk.tele.fi's message of Fri, 22 Jan 1993 10: 22:37 GMT
  6. Message-ID: <TOMB.93Jan22090935@ticipa.pac.sc.ti.com>
  7. Sender: usenet@ticipa.pac.sc.ti.com (USENET News System)
  8. Organization: Texas Instruments Manufacturing Technology Center
  9. References: <1993Jan22.003829.39338@ssfarch.attmail.com>
  10.     <1993Jan22.102237.14258@ajk.tele.fi>
  11. Date: Fri, 22 Jan 1993 15:09:35 GMT
  12. Lines: 62
  13.  
  14. In article <1993Jan22.102237.14258@ajk.tele.fi> panu@ajk.tele.fi (Panu Viljamaa) writes:
  15.  
  16.    > We are currently in search of PC (Windows) and Mac based 
  17.    > (Smalltalk)
  18.  
  19.        We worked with both ObjectWorks (ParcPlace) &
  20.     Smalltalk-V (Digitalk). Unfortunately they seem
  21.     to be the only major players. Their systems
  22.     (= the libraries) are not as compatible with each
  23.     other as you would like. More or less you have to
  24.     choose one and stick to it.  
  25.  
  26. I take issue here.  We are using V/286 and OTI's V/Embedded along with
  27. St80 for a production machine control system.  We have two distinct
  28. flavors of the system where in one the machine control is in V and the
  29. UI in 80, and the other has both machine control and UI coded in an
  30. St80 environment.  The V and 80 machine control images use the same
  31. classes with minor subclassing to define specific behavior appropriate
  32. for each system (NOT each VM).
  33.  
  34. To top it all off, we use our own remote object communications package
  35. and object storage/retrieval system to actively communicate between
  36. the V and 80 systems.  Obviously, for such communication to be valid
  37. then there must be a high degree of commonality between the systems or
  38. an object built in ST/V (for example) will have problems being
  39. reconstructed in St80 due to any number of reasons including instance
  40. variable reordering or different numbers of inst vars in each image.
  41.  
  42. There are two distinct points where ST/V and St80 are at odds:
  43. - GUI (MVC vs. MPD)
  44. - Exception handling (and V's native lack of it)
  45.  
  46. If your code is highly GUI dependent then you might be in trouble.
  47. From what I understand you're even in trouble between different V
  48. platforms.  It should be noted that with a great deal of care and
  49. careful subclassing, V and 80 code can be made very similar even in
  50. the GUI world - if you create panes in each platform that subclass
  51. from the native panes.  These 'translator' panes would provide a
  52. common interface, although it would probably pretty much preclude the
  53. use of a 'View' in St80, not to mention panes more complex than the
  54. standard list and text panes.
  55.  
  56. We are using ENVY from OTI which allows porting between code databases
  57. (one for V and one for 80) and handles expressions to load 80-specific
  58. or V-specific code as appropriate for the cases where divergence is
  59. necessary.  We did have to implement some missing protocols on each of
  60. the platforms to get true commonality.  Things like
  61. Character>>asLowerCase in V and #asLowercase in 80, or in V it's a
  62. MetaClass and 80 has a Metaclass.
  63.  
  64. As far as the pros and cons of each platform, I would generally agree.
  65. The only additional comment I would make is that if you are a student
  66. you can get St80 relatively cheaply.
  67.  
  68. tom
  69.  
  70. --
  71. Tom Burns                 Domain:    tomb@spdc.ti.com
  72. Texas Instruments        TI MSG:    THOS
  73. P.O. Box 655012, M/S 463     Voice:       (214) 995-9707
  74. Dallas, TX   75265
  75.  
  76.