home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / fj / maillis / xwindow / 17670 < prev    next >
Encoding:
Internet Message Format  |  1992-11-19  |  1.9 KB

  1. Path: sparky!uunet!sun-barr!sh.wide!wnoc-tyo-news!scslwide!wsgw!wsservra!daemon
  2. From: rjc@cogsci.ed.ac.uk (Richard Caley)
  3. Newsgroups: fj.mail-lists.x-window
  4. Subject: Re: FLAME, FLAME ON X!!!
  5. Message-ID: <1992Nov20.100202.23175@sm.sony.co.jp>
  6. Date: 20 Nov 92 10:02:02 GMT
  7. Sender: daemon@sm.sony.co.jp (The devil himself)
  8. Distribution: fj
  9. Organization: Human Communication Research Center
  10. Lines: 34
  11. Approved: michael@sm.sony.co.jp
  12.  
  13. Date: 19 Nov 92 15:49:04 GMT
  14. Message-Id: <RJC.92Nov19154904@daiches.cogsci.ed.ac.uk>
  15. Newsgroups: comp.windows.x
  16. References: <1683@igd.fhg.de>, <1992Nov9.235741.25166@dsd.es.com>
  17. Sender: xpert-request@expo.lcs.mit.edu
  18.  
  19. In article <1992Nov18.183826.2652@lsl.co.uk>, snail  (s) writes:
  20.  
  21. s> *** This is not a UNIX feature, this is a C feature, to be found on
  22. s> PCs, Ataris , UNIX boxes, VAXes etc. This a feature, ie: C is
  23. s> designed this way. ****
  24.  
  25. Er, no. C only specifies that you have malloc and free. How those are
  26. implimented is up to the person writing the library. It's a unix
  27. problem in as far as many unixes don't allow memory to come back and
  28. that made mallocs which _could_ return memory non-starters, other
  29. system inherited from there. As for messydos, the best memory
  30. reclemation scheme is to wipe the disk and install an operating system
  31. to give the memory back to.
  32.  
  33. Lets say it's a feature of poor memory allocators, with a rider that
  34. memory allocation is one of those problems where just about anything
  35. general is poor and anything good is so specific it will be awful in
  36. some common cases. I'd love to be proved wrong here, while you're at
  37. it, a perfect garbage collector and P=NP would be nice too. :-)
  38.  
  39. Sorry, not very X related anymore, but it looked like a misconception
  40. that needed to be nailed before we all have to live with non-returning
  41. mallocs for ever 'cos people think they have to be that way...
  42.  
  43. --
  44. rjc@cogsci.ed.ac.uk            _O_
  45.                      |<
  46.             
  47.