home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / lang / misc / 4044 < prev    next >
Encoding:
Text File  |  1992-12-16  |  1.9 KB  |  42 lines

  1. Newsgroups: comp.lang.misc
  2. Path: sparky!uunet!psinntp!ficc!peter
  3. From: peter@ferranti.com (peter da silva)
  4. Subject: Re: who should specify languages?
  5. Message-ID: <id.Y7VV._BB@ferranti.com>
  6. Organization: Xenix Support, FICC
  7. References: <1992Dec10.192524.25311@newshost.lanl.gov> <id.L8RV.IQC@ferranti.com> <1992Dec14.201155.9907@newshost.lanl.gov>
  8. Date: Tue, 15 Dec 1992 20:28:19 GMT
  9. Lines: 31
  10.  
  11. In article <1992Dec14.201155.9907@newshost.lanl.gov> jlg@cochiti.lanl.gov (J. Giles) writes:
  12. > Having languages compatible only at the pipe-I/O level is not 
  13. > really acceptable.  It's too clumsy, slow, and inflexible to
  14. > be of any real use for production purposes.
  15.  
  16. Funny... it gets used that way.
  17.  
  18. > Another problem
  19. > is that all the communication requires two system calls, and on
  20. > most implementations: a trip through the system buffers for all
  21. > the data (both of these are *slow* and it's preferable not to
  22. > move the data at all).
  23.  
  24. That's an implementation detail. There are systems that transparently
  25. use shared memory where it's available. Someone recently sent me a
  26. paper on it... quite impressive.
  27.  
  28. And, yes, having to encode all the data you need into a byte stream
  29. does cost some performance, but it also forces an interface that any
  30. language can talk to... and that you can route over just about any
  31. reliable 8-bit data path (networks, serial connections, X.25, ...)
  32. ever invented. And it's easy to run concurrently.
  33.  
  34. On the other hand different languages have different sets of objects
  35. they can operate on. What do you EXPECT to happen when you pass an
  36. object to Fortran, or a floating point number to Cobol?
  37. -- 
  38. %Peter da Silva/77487-5012 USA/+1 713 274 5180/Have you hugged your wolf today?
  39. /L{lineto}def/C{curveto}def/F{0 562 moveto 180 576 324 648 396 736 C 432 736 L
  40. 482 670 518 634 612 612 C}def/G{setgray}def .75 G F 612 792 L 0 792 L fill 1 G
  41. 324 720 24 0 360 arc fill 0 G 3 setlinewidth F stroke showpage % "Peerless"
  42.