home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / windows / x / 19464 < prev    next >
Encoding:
Internet Message Format  |  1992-11-23  |  1.9 KB

  1. Path: sparky!uunet!pipex!warwick!uknet!lsl!snail
  2. From: snail@lsl.co.uk
  3. Newsgroups: comp.windows.x
  4. Subject: Re: FLAME, FLAME ON X!!!
  5. Message-ID: <1992Nov23.132420.2670@lsl.co.uk>
  6. Date: 23 Nov 92 12:24:20 GMT
  7. References: <1683@igd.fhg.de> <1992Nov9.235741.25166@dsd.es.com> <1992Nov18.183826.2652@lsl.co.uk> <1992Nov18.194905.16185@cs.yale.edu>
  8. Organization: Laser-Scan Ltd., Cambridge
  9. Lines: 31
  10.  
  11. In article <1992Nov18.194905.16185@cs.yale.edu>, rescorla@rtnmr.chem.yale.edu (Eric Rescorla) writes:
  12. >>*** This is not a UNIX feature, this is a C feature, to be found on PCs, Ataris
  13. >>, UNIX boxes, VAXes etc. This a feature, ie: C is designed this way. ****
  14. >>
  15. > I hope not. It's wrong. It is not part of the definition of the
  16. > C language or of malloc(3). It happens that it is a very common way to
  17. > do things, because sbrk(2) calls are expensive and it's not obviously
  18. > worthwhile to return memory to the system. (This is on Unix. I imagine
  19. > that similar conditions obtain on other machine.)
  20.  
  21. Yes, As I've already stated to a few people by email, I was a bit over
  22. zealous there; it's a feature of the implementation of individual compilers.
  23. Each compiler team will do things differently. The point I was making, was that
  24. it is NOT a UNIX problem, it is OS independent. What I should also have said,
  25. is that it is a problem that rears it's ugly head in other languages as well,
  26. say, PASCAL or MODULA-2 (unless of course the language spec specifically says
  27. otherwise). I suspect, but don't know, that Prolog or Lisp may not have such
  28. problems, but I couldn't really see anyone implementing an X server in Prolog,
  29. could you?
  30.  
  31. That said, my the spirit of original statement, if you change 'designed' for
  32. 'implemented' is generally true, most compilers don't give it back to the OS -
  33. damn shame. C'est La vie.
  34.  
  35. Regards
  36. -- 
  37. snail@lsl.co.uk      
  38.  
  39. "para-phrasing an American's .sig"....
  40. For the record, I did not vote for Bill Clinton
  41. :-)
  42.